aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/roms
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-07-03 07:54:05 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-07-03 07:54:05 +0100
commit4f2ce3a8520ab7a01e6ef97a4953d36745124a14 (patch)
tree1fbfed04cc7176fdc02d00d8fc743667b93394bd /resources/scripts/helpers/build/roms
parent85a59c7bfd2909433660bb41c48de7510571f343 (diff)
downloadlibrebootfr-4f2ce3a8520ab7a01e6ef97a4953d36745124a14.tar.gz
librebootfr-4f2ce3a8520ab7a01e6ef97a4953d36745124a14.zip
build/roms/withgrub: use correct path for i945 dd commands
Otherwise, these are brick.rom images
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index 92bcdb1c..61401d84 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -79,15 +79,15 @@ done
# This enables the ROM to be flashed over the lenovo bios firmware
for i945board in "x60" "t60"
do
- if [ -d "bin/${i945board}/" ]; then
- cd "bin/${i945board}/"
+ if [ -d "bin/grub/${i945board}/" ]; then
+ cd "bin/grub/${i945board}/"
for i945rom in $(ls)
do
dd if="${i945rom}" of=top64k.bin bs=1 skip=$[$(stat -c %s "${i945rom}") - 0x10000] count=64k
dd if=top64k.bin of="${i945rom}" bs=1 seek=$[$(stat -c %s "${i945rom}") - 0x20000] count=64k conv=notrunc
rm -f top64k.bin
done
- cd "../../"
+ cd "../../../"
fi
done