aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-12-06 21:36:18 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-12-06 21:36:18 +0000
commit7f1f030f716488cac29e3573695f4b51ef8447b7 (patch)
tree5ceb351df870f206458c39c191f5e232743b330f
parent757634917b10c07228b15bbd905d45d5ad382820 (diff)
downloadlibrebootfr-7f1f030f716488cac29e3573695f4b51ef8447b7.tar.gz
librebootfr-7f1f030f716488cac29e3573695f4b51ef8447b7.zip
build/roms/withgrub: use user-supplied gm45 mac address if given
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub6
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index 3a77f828..4aa691b3 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -113,7 +113,11 @@ if [ -d "bin/grub/" ]; then
do
if [ -d "${board}_${romsize}b/" ]; then
cd "${board}_${romsize}b/"
- ../../../resources/utilities/ich9deblob/ich9gen
+ if [ -f "gm45macaddress" ]; then
+ ../../../resources/utilities/ich9deblob/ich9gen --macaddress $(cat gm45macaddress)
+ else
+ ../../../resources/utilities/ich9deblob/ich9gen
+ fi
for rom in *
do
if [ "${board}" = "r500" ]; then