nixpkgs/nixos/modules/system/boot
Josh Cartwright 626a666da5 gummiboot/builder: fix timeout setting when unset
The gummiboot-builder.py script is expecting the @timeout@ metavar to be
substituted for either an empty string (in the case where a user has
left the timeout unset) or the actual value set in the system
configuration.

However, the config.boot.loader.gummiboot.timeout option defaults to
'null', and due to the way pkgs.substituteAll works, the substitution
for '@timeout@' is _never_ set to the empty string.  This causes the
builder script to put a bogus line into /boot/loader/loader.conf:

   timeout @timeout@

Fix this by explicitly setting 'timeout' to the empty string when it's
unset in the system configuration.

Signed-off-by: Josh Cartwright <joshc@eso.teric.us>
2014-09-03 05:36:45 +02:00
..
loader gummiboot/builder: fix timeout setting when unset 2014-09-03 05:36:45 +02:00
emergency-mode.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00
kernel.nix initrd.availableKernelModules: add support for keyboards 2014-08-12 20:00:01 +02:00
kexec.nix
luksroot.nix Remove useless use of optionSet. 2014-08-29 18:43:03 +02:00
modprobe.nix modprobe.nix: Use modern environment.etc syntax 2014-07-31 22:09:51 +02:00
pbkdf2-sha512.c
readonly-mountpoint.c
shutdown.nix
stage-1-init.sh nixos/stage-1: Don't check resilient filesystems 2014-08-05 21:06:51 +02:00
stage-1.nix nixos: Remove modprobe.d/nixos.conf from initrd. 2014-08-24 18:19:56 +02:00
stage-2-init.sh Containers: Don't remount / 2014-08-18 17:14:43 +02:00
stage-2.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00
systemd-unit-options.nix
systemd.nix Don't barf if /var/log doesn't support ACLs 2014-08-18 14:21:45 +02:00
tmp.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00