Skip to content

Commit

Permalink
umi: Replace TMPDIR with EXTRACT_TMP_DIR
Browse files Browse the repository at this point in the history
Change-Id: I66146a0805a830ccf24db6e4cd57b229481ba6b0
  • Loading branch information
moetayuko authored and chaptsand committed Apr 1, 2023
1 parent 3cabd55 commit b7847ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ fi
function blob_fixup() {
case "${1}" in
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so)
hexdump -ve '1/1 "%.2X"' "${2}" | sed "s/210080529A0A0094/210080521F2003D5/g" | xxd -r -p > "${TMPDIR}/${1##*/}"
mv "${TMPDIR}/${1##*/}" "${2}"
hexdump -ve '1/1 "%.2X"' "${2}" | sed "s/210080529A0A0094/210080521F2003D5/g" | xxd -r -p > "${EXTRACT_TMP_DIR}/${1##*/}"
mv "${EXTRACT_TMP_DIR}/${1##*/}" "${2}"
;;
vendor/lib64/camera/components/com.mi.node.watermark.so )
$PATCHELF --add-needed "libpiex_shim.so" "${2}"
Expand Down

0 comments on commit b7847ef

Please # to comment.