3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/system/boot
Tuomas Tynkkynen 8665b0d8b1 extlinux-conf-builder: Fix warning when building in chroot
When using extlinux-conf-builder in a nix build using chroots, the
following error message could be seen:

/nix/store/XXX-extlinux-conf-builder.sh: line 121: cd: /nix/var/nix/profiles: No such file or directory

To avoid this, just skip the code path parsing /nix/var/nix/profiles
when $numGenerations (passed from the command line) is 0 (which is the
only legal value of $numGenerations in a nix build context).
2015-07-26 00:31:20 +03:00
..
loader extlinux-conf-builder: Fix warning when building in chroot 2015-07-26 00:31:20 +03:00
coredump.nix Added config options for systemd-coredump functionality. 2015-05-24 18:22:53 -06:00
emergency-mode.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00
kernel.nix Forcing the load of atkbd in initrd. 2015-06-10 12:16:25 +02:00
kexec.nix
luksroot.nix nixos/modules/system/boot/luksroot.nix: allow for LUKS devices with detached header 2015-06-29 17:36:47 +02:00
modprobe.nix nixos: move environment.{variables => sessionVariables}.MODULE_DIR 2015-06-14 18:56:58 +02:00
networkd.nix Create systemd-{network,resolve} user/group unconditionally 2015-07-22 12:23:45 +02:00
pbkdf2-sha512.c
readonly-mountpoint.c
resolved.nix Create systemd-{network,resolve} user/group unconditionally 2015-07-22 12:23:45 +02:00
shutdown.nix Don't run hwclock if /dev/rtc doesn't exist 2014-05-05 16:47:51 +02:00
stage-1-init.sh stage-1: Shut up warnings about swap devices that don't exist yet 2015-07-22 12:24:06 +02:00
stage-1.nix Some more type cleanup 2015-06-15 18:18:46 +02:00
stage-2-init.sh stage-2: Don't run hwclock in containers 2015-07-22 12:23:52 +02:00
stage-2.nix stage-2-init: Don't depend on sysvtools 2015-04-20 11:32:28 +02:00
systemd-lib.nix Set ‘allowSubstitutes = false’ on various derivations 2015-07-09 15:10:37 +02:00
systemd-unit-options.nix Some more type cleanup 2015-06-15 18:18:46 +02:00
systemd.nix systemd: Use upstream tmpfiles.d rules 2015-07-22 12:27:05 +02:00
timesyncd.nix Don't include networkd units unless enabled 2015-04-19 22:06:45 +02:00
tmp.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00