mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
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>
This commit is contained in:
+3
-7
@@ -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}_" \
|
||||
|
||||
Reference in New Issue
Block a user