diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-25 02:23:32 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <raphael@offensive-security.com> | 2020-04-23 09:59:56 +0200 |
commit | 69093d9e3b7ebc2d3691f683fd447653e211a654 (patch) | |
tree | 53cf425c3212d3877f627b5e78a277a77fecf59c /share | |
parent | 1f1b156697154179cdc0b8d95452b2f22c67eb9f (diff) | |
download | vyos-live-build-69093d9e3b7ebc2d3691f683fd447653e211a654.tar.gz vyos-live-build-69093d9e3b7ebc2d3691f683fd447653e211a654.zip |
grub2|loopback: extract install menu entries to config files
backwards compatibility:
1. the new install.cfg and install_start.cfg files (chosen
automatically from the install_*gui.cfg and install_*test.cfg
files) will be included alongside any user custom config.
2. the placeholders are now replaced with lines importing these files
thus everything will work just as before, i.e. no backwards
compatibility breakage.
Gbp-Dch: Short
Diffstat (limited to 'share')
-rw-r--r-- | share/bootloaders/grub-pc/install_gui.cfg | 44 | ||||
-rw-r--r-- | share/bootloaders/grub-pc/install_start_gui.cfg | 4 | ||||
-rw-r--r-- | share/bootloaders/grub-pc/install_start_text.cfg | 4 | ||||
-rw-r--r-- | share/bootloaders/grub-pc/install_text.cfg | 19 |
4 files changed, 71 insertions, 0 deletions
diff --git a/share/bootloaders/grub-pc/install_gui.cfg b/share/bootloaders/grub-pc/install_gui.cfg new file mode 100644 index 000000000..c4361de5a --- /dev/null +++ b/share/bootloaders/grub-pc/install_gui.cfg @@ -0,0 +1,44 @@ +menuentry 'Graphical install' --hotkey=g { + linux @KERNEL_GI@ vga=788 @APPEND_INSTALL@ --- quiet + initrd @INITRD_GI@ +} + +menuentry 'Graphical expert install' --hotkey=x { + linux @KERNEL_GI@ priority=low vga=788 @APPEND_INSTALL@ + initrd @INITRD_GI@ +} + +menuentry 'Graphical rescue mode' --hotkey=r { + linux @KERNEL_GI@ rescue/enable=true vga=788 @APPEND_INSTALL@ --- quiet + initrd @INITRD_GI@ +} + +menuentry 'Graphical automated install' --hotkey=a { + linux @KERNEL_GI@ auto=true priority=critical vga=788 @APPEND_INSTALL@ --- quiet + initrd @INITRD_GI@ +} + +menuentry 'Install' --hotkey=i { + linux @KERNEL_DI@ vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} + +menuentry 'Expert install' { + linux @KERNEL_DI@ priority=low vga=normal @APPEND_INSTALL@ + initrd @INITRD_DI@ +} + +menuentry 'Rescue mode' { + linux @KERNEL_DI@ rescue/enable=true vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} + +menuentry 'Automated install' { + linux @KERNEL_DI@ auto=true priority=critical vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} + +menuentry 'Install with speech synthesis' --hotkey=s { + linux @KERNEL_GI@ speakup.synth=soft vga=788 @APPEND_INSTALL@ --- quiet + initrd @INITRD_GI@ +} diff --git a/share/bootloaders/grub-pc/install_start_gui.cfg b/share/bootloaders/grub-pc/install_start_gui.cfg new file mode 100644 index 000000000..94c61b367 --- /dev/null +++ b/share/bootloaders/grub-pc/install_start_gui.cfg @@ -0,0 +1,4 @@ +menuentry 'Start installer' --hotkey=i { + linux @KERNEL_GI@ vga=788 @APPEND_INSTALL@ --- quiet + initrd @INITRD_GI@ +} diff --git a/share/bootloaders/grub-pc/install_start_text.cfg b/share/bootloaders/grub-pc/install_start_text.cfg new file mode 100644 index 000000000..eb3af3fa9 --- /dev/null +++ b/share/bootloaders/grub-pc/install_start_text.cfg @@ -0,0 +1,4 @@ +menuentry 'Start installer' --hotkey=i { + linux @KERNEL_DI@ vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} diff --git a/share/bootloaders/grub-pc/install_text.cfg b/share/bootloaders/grub-pc/install_text.cfg new file mode 100644 index 000000000..e77a2d34c --- /dev/null +++ b/share/bootloaders/grub-pc/install_text.cfg @@ -0,0 +1,19 @@ +menuentry 'Install' --hotkey=i { + linux @KERNEL_DI@ vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} + +menuentry 'Expert install' --hotkey=x { + linux @KERNEL_DI@ priority=low vga=normal @APPEND_INSTALL@ + initrd @INITRD_DI@ +} + +menuentry 'Rescue mode' --hotkey=r { + linux @KERNEL_DI@ rescue/enable=true vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} + +menuentry 'Automated install' --hotkey=a { + linux @KERNEL_DI@ auto=true priority=critical vga=normal @APPEND_INSTALL@ --- quiet + initrd @INITRD_DI@ +} |