From 088a145a3a900a2d46481073c928445fec9db81a Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 5 Nov 2020 19:50:53 +0200 Subject: sdm660-common: Switch to patchelf from tools-lineage Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3 --- extract-files.sh | 4 ++-- 1 file 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 -- cgit v1.2.3