mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: eudev: Add dependency on blkid.
* gnu/packages/linux.scm (eudev)[inputs]: Add UTIL-LINUX. (eudev-with-blkid): Remove. * gnu/services/base.scm (udev-service): Use EUDEV instead of EUDEV-WITH-BLKID. * gnu/system.scm (%base-packages): Likewise.
This commit is contained in:
parent
297a36abfc
commit
255f730879
3 changed files with 8 additions and 17 deletions
|
@ -1562,7 +1562,6 @@ (define-public kmod
|
|||
|
||||
(define-public eudev
|
||||
;; The post-systemd fork, maintained by Gentoo.
|
||||
;; TODO: Merge with 'eudev-with-blkid' below at an opportune time.
|
||||
(package
|
||||
(name "eudev")
|
||||
(version "3.1.5")
|
||||
|
@ -1581,7 +1580,11 @@ (define-public eudev
|
|||
("perl" ,perl)
|
||||
("gperf" ,gperf)))
|
||||
(inputs
|
||||
`(("kmod" ,kmod)))
|
||||
;; When linked against libblkid, eudev can populate /dev/disk/by-label
|
||||
;; and similar; it also installs the '60-persistent-storage.rules' file,
|
||||
;; which contains the rules to do that.
|
||||
`(("util-linux" ,util-linux) ;for blkid
|
||||
("kmod" ,kmod)))
|
||||
(home-page "https://wiki.gentoo.org/wiki/Project:Eudev")
|
||||
(synopsis "Userspace device management")
|
||||
(description "Udev is a daemon which dynamically creates and removes
|
||||
|
@ -1589,18 +1592,6 @@ (define-public eudev
|
|||
time.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public eudev-with-blkid
|
||||
;; TODO: Merge with 'eudev' above at an opportune time.
|
||||
(package
|
||||
(inherit eudev)
|
||||
(name "eudev-with-blkid")
|
||||
(inputs
|
||||
;; When linked against libblkid, eudev can populate /dev/disk/by-label
|
||||
;; and similar; it also installs the '60-persistent-storage.rules' file,
|
||||
;; which contains the rules to do that.
|
||||
`(("util-linux" ,util-linux) ;for blkid
|
||||
,@(package-inputs eudev)))))
|
||||
|
||||
(define-public lvm2
|
||||
(package
|
||||
(name "lvm2")
|
||||
|
|
|
@ -29,7 +29,7 @@ (define-module (gnu services base)
|
|||
#:use-module (gnu system file-systems) ; 'file-system', etc.
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module ((gnu packages linux)
|
||||
#:select (eudev-with-blkid kbd e2fsprogs lvm2 fuse alsa-utils crda gpm))
|
||||
#:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda gpm))
|
||||
#:use-module ((gnu packages base)
|
||||
#:select (canonical-package glibc))
|
||||
#:use-module (gnu packages package-management)
|
||||
|
@ -1170,7 +1170,7 @@ (define udev-service-type
|
|||
(udev udev)
|
||||
(rules (append initial-rules rules)))))))))
|
||||
|
||||
(define* (udev-service #:key (udev eudev-with-blkid) (rules '()))
|
||||
(define* (udev-service #:key (udev eudev) (rules '()))
|
||||
"Run @var{udev}, which populates the @file{/dev} directory dynamically. Get
|
||||
extra rules from the packages listed in @var{rules}."
|
||||
(service udev-service-type
|
||||
|
|
|
@ -374,7 +374,7 @@ (define %base-packages
|
|||
|
||||
;; Get 'insmod' & co. from kmod, not module-init-tools, since udev
|
||||
;; already depends on it anyway.
|
||||
kmod eudev-with-blkid
|
||||
kmod eudev
|
||||
|
||||
e2fsprogs kbd
|
||||
|
||||
|
|
Loading…
Reference in a new issue