roms: don't insert timeout.cfg
this is bloat, because it's something the user can already do at runtime configuration anyway. set it to a reasonable default of 8 seconds instead of 5, and don't honour the timeout variable in target.cfg. this will be documented in the next release. Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
abfc799fd5
commit
893e88bc81
|
@ -2,5 +2,4 @@ tree="default"
|
|||
xarch="i386-elf"
|
||||
payload_seabios="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -2,6 +2,5 @@ tree="default"
|
|||
xarch="i386-elf"
|
||||
payload_seabios="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
release="n"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -2,5 +2,4 @@ tree="default"
|
|||
xarch="i386-elf"
|
||||
payload_seabios="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,6 +3,5 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -3,6 +3,5 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -3,6 +3,5 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -3,5 +3,4 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="ahci"
|
||||
|
|
|
@ -4,6 +4,5 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -5,6 +5,5 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -3,4 +3,3 @@ xarch="i386-elf"
|
|||
payload_seabios="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
|
|
|
@ -4,4 +4,3 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
|
|
|
@ -4,6 +4,5 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -4,6 +4,5 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -5,6 +5,5 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -5,6 +5,5 @@ payload_seabios="y"
|
|||
payload_seabios_withgrub="y"
|
||||
payload_memtest="y"
|
||||
xlang="c"
|
||||
grub_timeout=10
|
||||
grub_scan_disk="nvme ahci"
|
||||
grubtree="nvme"
|
||||
|
|
|
@ -53,7 +53,7 @@ set default="0"
|
|||
if [ -f (cbfsdisk)/timeout.cfg ]; then
|
||||
source (cbfsdisk)/timeout.cfg
|
||||
else
|
||||
set timeout=5
|
||||
set timeout=8
|
||||
fi
|
||||
set grub_scan_disk="ahci ata"
|
||||
if [ -f (cbfsdisk)/scan.cfg ]; then
|
||||
|
|
|
@ -53,7 +53,7 @@ set default="0"
|
|||
if [ -f (cbfsdisk)/timeout.cfg ]; then
|
||||
source (cbfsdisk)/timeout.cfg
|
||||
else
|
||||
set timeout=5
|
||||
set timeout=8
|
||||
fi
|
||||
set grub_scan_disk="nvme ahci ata"
|
||||
if [ -f (cbfsdisk)/scan.cfg ]; then
|
||||
|
|
|
@ -54,7 +54,7 @@ set default="0"
|
|||
if [ -f (cbfsdisk)/timeout.cfg ]; then
|
||||
source (cbfsdisk)/timeout.cfg
|
||||
else
|
||||
set timeout=5
|
||||
set timeout=8
|
||||
fi
|
||||
set grub_scan_disk="nvme ahci ata"
|
||||
if [ -f (cbfsdisk)/scan.cfg ]; then
|
||||
|
|
10
script/roms
10
script/roms
|
@ -17,7 +17,6 @@ rp2040x="$rp2040src/build/pico_serprog.uf2"
|
|||
picosdk="src/pico-sdk"
|
||||
stm32src="src/stm32-vserprog"
|
||||
stm32x="$stm32src/stm32-vserprog.hex"
|
||||
tmpcfg="$tmpdir/tmpcfg"
|
||||
|
||||
# Disable all payloads by default.
|
||||
# target.cfg files have to specifically enable [a] payload(s)
|
||||
|
@ -217,12 +216,9 @@ build_grub_roms()
|
|||
# we only need insert grub.elf once, for each coreboot config:
|
||||
cbfs "$tmprom" "$grubelf" "$grub_cbfs"
|
||||
|
||||
printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" > "$tmpcfg" || \
|
||||
$err "set grub_scan_disk, $grub_scan_disk, $tmpcfg"
|
||||
cbfs "$tmprom" "$tmpcfg" scan.cfg raw
|
||||
|
||||
printf "set timeout=%s\n" "$grub_timeout" > "$tmpcfg" || $err "!time"
|
||||
[ -z "$grub_timeout" ] || cbfs "$tmprom" "$tmpcfg" timeout.cfg raw
|
||||
printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" \
|
||||
> "$tmpdir/tmpcfg" || $err "set grub_scan_disk, $grub_scan_disk"
|
||||
cbfs "$tmprom" "$tmpdir/tmpcfg" scan.cfg raw
|
||||
|
||||
newrom="$romdir/${payload1}_${board}_${initmode}_$displaymode.rom"
|
||||
[ "$initmode" = "normal" ] && newrom="$romdir/${payload1}_" \
|
||||
|
|
Loading…
Reference in New Issue