Added inital modification for Kiosk version

This commit is contained in:
2022-09-14 17:00:04 +02:00
parent d19b2f3c1b
commit bd1b77c19e
21 changed files with 116 additions and 80 deletions

View File

@@ -1,5 +1,6 @@
set default=defaultboot
set timeout=5
set timeout=0
set timeout_style=countdown
loadfont $prefix/dejavu-bold-16.pf2
loadfont $prefix/dejavu-bold-14.pf2
@@ -8,9 +9,11 @@ set gfxmode=auto
insmod all_video
insmod gfxterm
insmod png
terminal_output gfxterm
background_image /boot/grub/splash.png
set color_normal=light-gray/black
set color_highlight=white/black
set color_normal=white/black
set color_highlight=black/white
if [ -e /isolinux/splash.png ]; then
# binary_syslinux modifies the theme file to point to the correct
@@ -23,31 +26,32 @@ else
set menu_color_highlight=white/blue
fi
terminal_output gfxterm
insmod play
play 960 440 1 0 4 440 1
menuentry "Live system " {
echo "Loading ${1}... Please wait...".
linux KERNEL_LIVE APPEND_LIVE locales=en_US.UTF-8
initrd INITRD_LIVE
#echo "Please wait...".
linux /live/vmlinuz-5.18.0-0.deb11.4-amd64 boot=live config findiso=${iso_path} locales=en_US.UTF-8 quiet splash
initrd /live/initrd.img-5.18.0-0.deb11.4-amd64
}
menuentry "Live system (ToRam)" --id defaultboot {
echo "Loading ${1}... Please wait...".
linux KERNEL_LIVE APPEND_LIVE toram locales=en_US.UTF-8
initrd INITRD_LIVE
#echo "Please wait...".
linux /live/vmlinuz-5.18.0-0.deb11.4-amd64 boot=live config findiso=${iso_path} toram locales=en_US.UTF-8 quiet splash
initrd /live/initrd.img-5.18.0-0.deb11.4-amd64
}
submenu 'Advanced options...' {
# More installer entries (if any)
LINUX_LIVE
LINUX_ADVANCED_INSTALL
menuentry "Live system" --hotkey=l {
linux /live/vmlinuz-5.18.0-0.deb11.4-amd64 boot=live config findiso=${iso_path}
initrd /live/initrd.img-5.18.0-0.deb11.4-amd64
}
menuentry "Live system (fail-safe mode)" {
linux /live/vmlinuz-5.18.0-0.deb11.4-amd64 boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788
initrd /live/initrd.img-5.18.0-0.deb11.4-amd64
}
source /boot/grub/install.cfg
# Memtest (if any)
MEMTEST
}

View File

@@ -1,7 +1,7 @@
desktop-image: "../splash.png"
title-color: "#ffffff"
title-font: "DejaVu Sans Bold 16"
title-text: "CLI-Testing"
title-text: "Kiosk-Testing"
message-font: "Unifont Regular 16"
terminal-font: "Unifont Regular 16"

View File

@@ -1,36 +1,19 @@
timeout 100
menu hshift 0
menu width 82
menu title CLI-Testing
timeout 1
prompt 0
DEFAULT live-ram
menu title Kiosk-Testing
include stdmenu.cfg
MENU HIDDEN
label live
menu label ^Live system
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live config locales=en_US.UTF-8
append boot=live config locales=en_US.UTF-8 quiet splash
label live-ram
menu label ^Live system (ToRam)
menu default
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live config toram locales=en_US.UTF-8
menu begin advanced
menu title Advanced options
include stdmenu.cfg
label live-failsafe
menu label ^Live (amd64 failsafe)
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788
label mainmenu
menu label ^Back..
menu exit
append boot=live config toram locales=en_US.UTF-8 quiet splash
menu clear