nixpkgs/modules/system/boot
Florian Friesdorf dd8e725d7d copy only cryptsetup deps to stage-1 and test cryptsetup
popt-0.16 and cryptsetup-1.4.1 both generated pkgconfig (in contrast
to older versions). The pkgconfig files (popt.pc and cryptsetup.pc)
contain references into the store that are not removed by patchelf and
stage-1 fails with errors like: "output is not allowed to refer to
path `/nix/store/qccjhn063cfv171rcaxvxh0yk96zf7l2-cryptsetup-1.4.1'".

Now, only the cryptsetup binaries and its dependencies are copied,
determined by ldd. In addition the cryptsetup binary and lvm are
tested after patchelf has adjusted the library paths.

Thanks to Peter Simons and Eelco Dolstra for giving the rights hints.

svn path=/nixos/trunk/; revision=31128
2011-12-28 21:46:40 +00:00
..
kernel.nix * Set boot.vesa to false if we don't have a fbcondecor-enabled kernel. 2011-12-08 12:25:33 +00:00
luksroot.nix copy only cryptsetup deps to stage-1 and test cryptsetup 2011-12-28 21:46:40 +00:00
modprobe.nix * modprobe wants /etc/modprobe.d now. 2011-11-01 15:39:30 +00:00
stage-1-init.sh * Make the permissions on /run less liberal. 2011-10-27 17:34:16 +00:00
stage-1.nix enable testing of extraUtilsCommands after patchelf 2011-12-28 21:46:35 +00:00
stage-2-init.sh * Remove references to the "safemode" boot option, which doesn't do 2011-11-03 00:46:29 +00:00
stage-2.nix Strip trailing whitespace. 2011-09-13 18:49:50 +00:00