From c62a4239096e860a254a0e3f059007e844aec78a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 4 Sep 2023 14:17:09 +0100 Subject: 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 --- script/update/blobs/inject | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'script/update/blobs') 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}" -- cgit v1.2.1