svn path=/nixos/trunk/; revision=12634
This commit is contained in:
Eelco Dolstra 2008-08-15 14:15:25 +00:00
parent fdc362a726
commit d74caf133a

View file

@ -50,8 +50,14 @@ rec {
inherit (pkgsStatic) utillinux;
inherit udev;
e2fsprogs = pkgsDiet.e2fsprogs;
devicemapper = if config.boot.initrd.lvm then pkgsStatic.devicemapper else null;
lvm2 = if config.boot.initrd.lvm then pkgsStatic.lvm2 else null;
devicemapper =
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
}
''