summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-04 14:17:09 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-04 14:17:09 +0100
commitc62a4239096e860a254a0e3f059007e844aec78a (patch)
tree083e443540886edaa1873a66f3e0548001e6584b
parent950166da7b1c00a19bc7e0427e48d1eb4afa04f3 (diff)
update/blobs/inject: remove errant target handling
just like the last patch, target.cfg handling is not required in this script either. remove it. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xscript/update/blobs/inject6
1 files changed, 1 insertions, 5 deletions
diff --git a/script/update/blobs/inject b/script/update/blobs/inject
index 53334879..8eec544a 100755
--- a/script/update/blobs/inject
+++ b/script/update/blobs/inject
@@ -145,7 +145,7 @@ inject_blobs()
patch_release_roms()
{
_tmpdir=$(mktemp -d "/tmp/${board}_tmpXXXX")
- tar xf "${releasearchive}" -C "${_tmpdir}" || \
+ tar -xf "${releasearchive}" -C "${_tmpdir}" || \
err "patch_release_roms: could not extract release archive"
for x in "${_tmpdir}"/bin/*/*.rom ; do
@@ -185,12 +185,8 @@ patch_rom()
done
eval "${no_config}"
- [ -f "${boarddir}/target.cfg" ] || \
- err "patch_rom: file missing: ${boarddir}/target.cfg"
-
set -- "${boarddir}/config/"*
. "${1}" 2>/dev/null
- . "${boarddir}/target.cfg"
[ "$CONFIG_HAVE_MRC" = "y" ] && \
inject_blob_intel_mrc "${rom}"