diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2020-11-05 19:50:53 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-20 18:55:01 +0200 |
commit | 088a145a3a900a2d46481073c928445fec9db81a (patch) | |
tree | 584feb8f1b1a95d0114751dd2c921d8e00c538b9 | |
parent | 93fa94507391a36851d12b34d69e5fc23fbe554d (diff) |
sdm660-common: Switch to patchelf from tools-lineage
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
-rwxr-xr-x | extract-files.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extract-files.sh b/extract-files.sh index a7e88f0..6c11d69 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -63,11 +63,11 @@ function blob_fixup() { case "${1}" in vendor/bin/mlipayd@1.1) - patchelf --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}" + "${PATCHELF}" --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}" ;; vendor/lib64/libmlipay.so | vendor/lib64/libmlipay@1.1.so) - patchelf --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}" + "${PATCHELF}" --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}" sed -i "s|/system/etc/firmware|/vendor/firmware\x0\x0\x0\x0|g" "${2}" ;; esac |