aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2016-08-22 09:20:10 +0100
committerLeah Rowe <info@minifree.org>2016-08-22 09:20:10 +0100
commit027ab00caabf0a11d78093d124260fe8bd47f7c4 (patch)
tree6137383ac25fd95188a2b29a959eb46b37f5ed74 /resources/scripts
parent9798405c5e4dffb6db8c1a98f3ab875123f5997c (diff)
downloadlibrebootfr-027ab00caabf0a11d78093d124260fe8bd47f7c4.tar.gz
librebootfr-027ab00caabf0a11d78093d124260fe8bd47f7c4.zip
add missng lbversion file to cbfs on all ROM images (GRUB payload)
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper
index 1d47648e..0a5f6898 100755
--- a/resources/scripts/helpers/build/roms/withgrub_helper
+++ b/resources/scripts/helpers/build/roms/withgrub_helper
@@ -134,6 +134,10 @@ do
./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add-int -i 3000 -n etc/ps2-keyboard-spinup || printf "already exists"
fi
+ print "%s\n" "${version}" > lbversion
+ ./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add -f lbversion -n lbversion -t raw
+ rm -f "lbversion"
+
# we dont need that grub.elf now
rm -f "grub.elf"