Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/baseline
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-06-18 09:15:01 +0300
committernl6720 <nl6720@gmail.com>2022-06-23 08:27:44 +0300
commite654106ecf5741c5abdc591ec026104eafa118a3 (patch)
tree4fac6f2644e5d19436f5a53cb9488a7138a416ae /configs/baseline
parent9a98ae604085e7e94b7080f844fa4f8f6964b49b (diff)
configs/*/grub/grub.cfg: auto-boot after 15 seconds
* Set the default boot entry and its timeout. * Add classes to menu entries to allow theming them. Fixes #179
Diffstat (limited to 'configs/baseline')
-rw-r--r--configs/baseline/grub/grub.cfg8
1 files changed, 6 insertions, 2 deletions
diff --git a/configs/baseline/grub/grub.cfg b/configs/baseline/grub/grub.cfg
index 5fc8d73..3df0b98 100644
--- a/configs/baseline/grub/grub.cfg
+++ b/configs/baseline/grub/grub.cfg
@@ -14,14 +14,18 @@ if loadfont "${prefix}/fonts/unicode.pf2" ; then
terminal_output gfxterm
fi
-menuentry "Arch Linux (x86_64, UEFI)" {
+default=archlinux
+timeout=15
+timeout_style=menu
+
+menuentry "Arch Linux (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
set gfxpayload=keep
search --no-floppy --set=root --label %ARCHISO_LABEL%
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
}
-menuentry "Arch Linux (x86_64, UEFI) Copy to RAM" {
+menuentry "Arch Linux (x86_64, UEFI) Copy to RAM" --class arch --class gnu-linux --class gnu --class os --id 'archlinux-copy-to-ram' {
set gfxpayload=keep
search --no-floppy --set=root --label %ARCHISO_LABEL%
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram