* Idem.
svn path=/nixos/trunk/; revision=12634
This commit is contained in:
parent
fdc362a726
commit
d74caf133a
@ -50,8 +50,14 @@ rec {
|
|||||||
inherit (pkgsStatic) utillinux;
|
inherit (pkgsStatic) utillinux;
|
||||||
inherit udev;
|
inherit udev;
|
||||||
e2fsprogs = pkgsDiet.e2fsprogs;
|
e2fsprogs = pkgsDiet.e2fsprogs;
|
||||||
devicemapper = if config.boot.initrd.lvm then pkgsStatic.devicemapper else null;
|
devicemapper =
|
||||||
lvm2 = if config.boot.initrd.lvm then pkgsStatic.lvm2 else null;
|
if config.boot.initrd.lvm
|
||||||
|
then assert pkgs.devicemapper.enableStatic; pkgs.devicemapper
|
||||||
|
else null;
|
||||||
|
lvm2 =
|
||||||
|
if config.boot.initrd.lvm
|
||||||
|
then assert pkgs.lvm2.enableStatic; pkgs.lvm2
|
||||||
|
else null;
|
||||||
allowedReferences = []; # prevent accidents like glibc being included in the initrd
|
allowedReferences = []; # prevent accidents like glibc being included in the initrd
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user