summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeah Woods <info@minifree.org>2016-05-19 23:58:23 (EDT)
committer Leah Woods <info@minifree.org>2016-05-19 23:58:23 (EDT)
commit49fcc906561ab05f7a45f329e40cfd4a12260e57 (patch)
treed7376d47f130290571cdf4b1005999adbef2e42a
parentb1ff016f3f422c47b5c65a4d3ebfc449f1fd5743 (diff)
downloadlibreboot-49fcc906561ab05f7a45f329e40cfd4a12260e57.zip
libreboot-49fcc906561ab05f7a45f329e40cfd4a12260e57.tar.gz
libreboot-49fcc906561ab05f7a45f329e40cfd4a12260e57.tar.bz2
build/roms/withgrub: use cbfstool add-int for 0s delay in cbfs (SeaGRUB)
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper5
1 files changed, 1 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper
index 19c0103..bb6962e 100755
--- a/resources/scripts/helpers/build/roms/withgrub_helper
+++ b/resources/scripts/helpers/build/roms/withgrub_helper
@@ -129,10 +129,7 @@ do
# Add 0s delay to seabios, so that the user is not burdened by seeing
# that horrible interface that seabios has
- rm -f zero
- dd if=/dev/null of=zero bs=1 count=1
- ./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add -f zero -n etc/show-boot-menu -t raw
- rm -f zero
+ ./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add-int -i 0 -n etc/show-boot-menu || "already exists"
# keyboard spinup timeout
./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" remove -n etc/ps2-keyboard-spinup || printf "does not exist"