diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-03 06:28:14 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-03 06:28:14 +0100 |
commit | 308df9ca4061e66ca1bdfb4c5c23cc4153d3ce31 (patch) | |
tree | 8829a7b4f497e227f2ad71bba3839572a03d4b87 | |
parent | 44a1cc9ef85626a0d45c7b838a3637ec9f316540 (diff) |
inject.sh: always re-build nvmutil
it's not a lot of code, and takes less than a second.
the previous change uses x instead of ?, but this would
cause an error if the nvmutil was already built, because
the makefile might cause a build to be skipped.
therefore, force a re-build to mitigate the error.
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/inject.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inject.sh b/include/inject.sh index beaebf4d..8fb0a34e 100644 --- a/include/inject.sh +++ b/include/inject.sh @@ -562,7 +562,8 @@ modify_mac() [ -n "$CONFIG_GBE_BIN_PATH" ] || return 1 x_ cp "${CONFIG_GBE_BIN_PATH##*../}" tmp/gbe - [ "$new_mac" != "restore" ] && x_ make -C util/nvmutil && \ + [ "$new_mac" != "restore" ] && x_ make -C util/nvmutil clean && \ + x_ make -C util/nvmutil && \ x_ "$nvm" tmp/gbe setmac "$new_mac" fe_ newmac "$tmpromdir" -maxdepth 1 -type f -name "*.rom" |