summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-07-03 02:53:14 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-07-03 02:53:14 (EDT)
commit85a59c7bfd2909433660bb41c48de7510571f343 (patch)
tree6d44436afca9b3f0e873f4948d369a8d3ff8fb91 /resources
parent3eb9cfb44d310767c562590a17b8ee999100b368 (diff)
downloadlibreboot-85a59c7bfd2909433660bb41c48de7510571f343.zip
libreboot-85a59c7bfd2909433660bb41c48de7510571f343.tar.gz
libreboot-85a59c7bfd2909433660bb41c48de7510571f343.tar.bz2
build/roms/withgrub: fix path names when running ich9gen
Otherwise, these images are brick.rom images
Diffstat (limited to 'resources')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index cb205d2..92bcdb1 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -93,15 +93,15 @@ done
# Build the deblobbed descriptor+gbe regions for GM45/ICH9M targets.
# Then put them in the ROM images.
-if [ -d "bin/" ]; then
- cd "bin/"
+if [ -d "bin/grub/" ]; then
+ cd "bin/grub/"
for board in "x200" "r400" "t400" "t500"
do
for romsize in "4m" "8m"
do
if [ -d "${board}_${romsize}b/" ]; then
cd "${board}_${romsize}b/"
- ../../resources/utilities/ich9deblob/ich9gen
+ ../../../resources/utilities/ich9deblob/ich9gen
for rom in $(ls)
do
dd if="ich9fdgbe_${romsize}.bin" of="${rom}" bs=1 count=12k conv=notrunc
@@ -112,7 +112,7 @@ if [ -d "bin/" ]; then
fi
done
done
- cd ../
+ cd ../../
fi
# The GRUB payloads are no longer needed