diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-02-02 18:17:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-02 21:16:59 +0100 |
commit | 400ed6acdd275f1135aad520baa7379eb6b8cff6 (patch) | |
tree | ccb48ae941e2e96b0ea47ccc4677f26a8e7a12ed /gnu/services | |
parent | 81fc64da7e9fa5eed782d0c52ebd5c76598e045a (diff) | |
download | guix-400ed6acdd275f1135aad520baa7379eb6b8cff6.tar guix-400ed6acdd275f1135aad520baa7379eb6b8cff6.tar.gz |
gnu: eudev: Add variant that depends on libblkid.
This fixes a bug whereby /dev/disk/by-{label,id} would be missing on
GuixSD (/dev/disk/by-id would still contain device-mapped partitions
though.)
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/linux.scm (eudev-with-blkid): New variable.
* gnu/services/base.scm (udev-service): #:udev defaults to
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Replace EUDEV with EUDEV-WITH-BLKID.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/base.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index dcd9956987..28ccfe0f37 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -29,7 +29,7 @@ #:use-module (gnu system file-systems) ; 'file-system', etc. #:use-module (gnu packages admin) #:use-module ((gnu packages linux) - #:select (eudev kbd e2fsprogs lvm2 fuse alsa-utils crda gpm)) + #:select (eudev-with-blkid kbd e2fsprogs lvm2 fuse alsa-utils crda gpm)) #:use-module ((gnu packages base) #:select (canonical-package glibc)) #:use-module (gnu packages package-management) @@ -1165,7 +1165,7 @@ item of @var{packages}." (udev udev) (rules (append initial-rules rules))))))))) -(define* (udev-service #:key (udev eudev) (rules '())) +(define* (udev-service #:key (udev eudev-with-blkid) (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 |