bootloaders: add accessible dark contrast installer menu options

following official install discs.

i've not bothered to update grub-legacy this time.

Gbp-Dch: Short
This commit is contained in:
Lyndon Brown 2020-04-04 05:27:31 +01:00
parent 9b2564a3ff
commit ab2e8a91f5
4 changed files with 160 additions and 0 deletions

View File

@ -38,6 +38,51 @@ menuentry 'Automated install' {
initrd @INITRD_DI@
}
submenu 'Accessible dark contrast installer options ...' --hotkey=d {
source /boot/grub/theme.cfg
menuentry 'Graphical install' --hotkey=g {
linux @KERNEL_GI@ vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_GI@
}
menuentry 'Graphical expert install' --hotkey=x {
linux @KERNEL_GI@ priority=low vga=788 theme=dark @APPEND_INSTALL@
initrd @INITRD_GI@
}
menuentry 'Graphical rescue mode' --hotkey=r {
linux @KERNEL_GI@ rescue/enable=true vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_GI@
}
menuentry 'Graphical automated install' --hotkey=a {
linux @KERNEL_GI@ auto=true priority=critical vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_GI@
}
menuentry 'Install' --hotkey=i {
linux @KERNEL_DI@ vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
menuentry 'Expert install' {
linux @KERNEL_DI@ priority=low vga=788 theme=dark @APPEND_INSTALL@
initrd @INITRD_DI@
}
menuentry 'Rescue mode' {
linux @KERNEL_DI@ rescue/enable=true vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
menuentry 'Automated install' {
linux @KERNEL_DI@ auto=true priority=critical vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
}
submenu 'Speech-enabled install options ...' --hotkey=s {
source /boot/grub/theme.cfg

View File

@ -17,3 +17,28 @@ menuentry 'Automated install' --hotkey=a {
linux @KERNEL_DI@ auto=true priority=critical vga=788 @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
submenu 'Accessible dark contrast installer options ...' --hotkey=d {
source /boot/grub/theme.cfg
menuentry 'Install' --hotkey=i {
linux @KERNEL_DI@ vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
menuentry 'Expert install' --hotkey=x {
linux @KERNEL_DI@ priority=low vga=788 theme=dark @APPEND_INSTALL@
initrd @INITRD_DI@
}
menuentry 'Rescue mode' --hotkey=r {
linux @KERNEL_DI@ rescue/enable=true vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
menuentry 'Automated install' --hotkey=a {
linux @KERNEL_DI@ auto=true priority=critical vga=788 theme=dark @APPEND_INSTALL@ --- quiet
initrd @INITRD_DI@
}
}

View File

@ -60,6 +60,63 @@ menu begin install
initrd @INITRD_DI@
append auto=true priority=critical vga=788 @APPEND_INSTALL@ --- quiet
menu begin darkinstall
menu label Accessible ^dark contrast installer options
menu title Accessible dark contrast installer options
include stdmenu.cfg
label mainmenu
menu label ^Back..
menu exit
label darkinstallgui
menu label ^Graphical install
linux @KERNEL_GI@
initrd @INITRD_GI@
append vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkexpertgui
menu label Graphical e^xpert install
linux @KERNEL_GI@
initrd @INITRD_GI@
append priority=low vga=788 theme=dark @APPEND_INSTALL@
label darkrescuegui
menu label Graphical ^rescue mode
linux @KERNEL_GI@
initrd @INITRD_GI@
append rescue/enable=true vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkautogui
menu label Graphical ^automated install
linux @KERNEL_GI@
initrd @INITRD_GI@
append auto=true priority=critical vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkinstall
menu label ^Install
linux @KERNEL_DI@
initrd @INITRD_DI@
append vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkexpert
menu label Expert install
linux @KERNEL_DI@
initrd @INITRD_DI@
append priority=low vga=788 theme=dark @APPEND_INSTALL@
label darkrescue
menu label Rescue mode
linux @KERNEL_DI@
initrd @INITRD_DI@
append rescue/enable=true vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkauto
menu label Automated install
linux @KERNEL_DI@
initrd @INITRD_DI@
append auto=true priority=critical vga=788 theme=dark @APPEND_INSTALL@ --- quiet
menu end
menu begin speechinstall
menu label ^Speech-enabled install options
menu title Speech-enabled install options

View File

@ -35,4 +35,37 @@ menu begin install
linux @KERNEL_DI@
initrd @INITRD_DI@
append auto=true priority=critical vga=788 @APPEND_INSTALL@ --- quiet
menu begin darkinstall
menu label Accessible ^dark contrast installer options
menu title Accessible dark contrast installer options
include stdmenu.cfg
label mainmenu
menu label ^Back..
menu exit
label darkinstall
menu label ^Install
linux @KERNEL_DI@
initrd @INITRD_DI@
append vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkexpert
menu label E^xpert install
linux @KERNEL_DI@
initrd @INITRD_DI@
append priority=low vga=788 theme=dark @APPEND_INSTALL@
label darkrescue
menu label ^Rescue mode
linux @KERNEL_DI@
initrd @INITRD_DI@
append rescue/enable=true vga=788 theme=dark @APPEND_INSTALL@ --- quiet
label darkauto
menu label ^Automated install
linux @KERNEL_DI@
initrd @INITRD_DI@
append auto=true priority=critical vga=788 theme=dark @APPEND_INSTALL@ --- quiet
menu end
menu end