aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorKlemens Nanni <contact@autoboot.org>2015-11-06 01:31:16 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-11-06 02:49:03 +0000
commit24d1fa4eb08bc1aa9ee6ee4dcf12169210dc43ef (patch)
tree1b7e4f25b5d695f9aa3f55758af2c2184bd04ce3 /resources/scripts/helpers
parent6ad0da705d8201782fdbbc482c8eaafa5af1923a (diff)
downloadlibrebootfr-24d1fa4eb08bc1aa9ee6ee4dcf12169210dc43ef.tar.gz
librebootfr-24d1fa4eb08bc1aa9ee6ee4dcf12169210dc43ef.zip
roms/withgrub_helper: Create correct ROM layouts
find bin/grub [...] also searches other boards' ROMs and thus would print a ROM layout not neccessarily belonging to the same board images got built for.
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper
index dea7fa6b..07dd5c2b 100755
--- a/resources/scripts/helpers/build/roms/withgrub_helper
+++ b/resources/scripts/helpers/build/roms/withgrub_helper
@@ -148,4 +148,7 @@ rm -f "lbversion"
# go back to main source directory
cd "../"
+# create ROM image layout to allow flashing specific regions only
+./coreboot/util/ifdtool/ifdtool -f bin/grub/${boardtarget}/rom.layout $(find bin/grub/${boardtarget} -type f -name "*.rom" -print -quit)
+
printf "\n\n"