diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-12-06 21:36:18 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-12-06 21:36:18 +0000 |
commit | 7f1f030f716488cac29e3573695f4b51ef8447b7 (patch) | |
tree | 5ceb351df870f206458c39c191f5e232743b330f | |
parent | 757634917b10c07228b15bbd905d45d5ad382820 (diff) | |
download | librebootfr-7f1f030f716488cac29e3573695f4b51ef8447b7.tar.gz librebootfr-7f1f030f716488cac29e3573695f4b51ef8447b7.zip |
build/roms/withgrub: use user-supplied gm45 mac address if given
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub | 6 |
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 |