aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorLeah Woods <info@minifree.org>2016-05-20 04:58:23 +0100
committerLeah Woods <info@minifree.org>2016-05-20 04:58:23 +0100
commit49fcc906561ab05f7a45f329e40cfd4a12260e57 (patch)
treed7376d47f130290571cdf4b1005999adbef2e42a /resources/scripts
parentb1ff016f3f422c47b5c65a4d3ebfc449f1fd5743 (diff)
downloadlibrebootfr-49fcc906561ab05f7a45f329e40cfd4a12260e57.tar.gz
librebootfr-49fcc906561ab05f7a45f329e40cfd4a12260e57.zip
build/roms/withgrub: use cbfstool add-int for 0s delay in cbfs (SeaGRUB)
Diffstat (limited to 'resources/scripts')
-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 19c01034..bb6962ec 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"