summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-06-19 03:36:07 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-07-22 16:08:18 +0300
commita6c95a3f7d2215965e098f404a9ad544a8fdd99c (patch)
tree376e283e5717b826d1b2da73084f55005c248c15 /nixos
parent8496f71e9219e1a5ea01898c1c306ab58cf6773a (diff)
downloadnixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.tar
nixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.tar.gz
nixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.tar.bz2
nixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.tar.lz
nixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.tar.xz
nixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.tar.zst
nixlib-a6c95a3f7d2215965e098f404a9ad544a8fdd99c.zip
extlinux-conf-builder: Set menu title to force prompt display
Without a menu title, U-Boot's distro scripts just autoboot the first
entry by default.

When I initially wrote this, my board wasn't apparently running stock
U-Boot but had some local hacks saved in the U-Boot's environment
which made it always display the prompt.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh b/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh
index 642bdf4673bd..7da9c488f690 100644
--- a/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh
+++ b/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh
@@ -109,6 +109,7 @@ cat > $tmpFile <<EOF
 # Change this to e.g. nixos-42 to temporarily boot to an older configuration.
 DEFAULT nixos-default
 
+MENU TITLE ------------------------------------------------------------
 TIMEOUT $timeout
 EOF