sabrina: Use patchelf 0.18 lineage-22.0
authorNolen Johnson <johnsonnolen@gmail.com>
Thu, 28 Nov 2024 06:51:44 +0000 (01:51 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 28 Nov 2024 07:28:28 +0000 (02:28 -0500)
Change-Id: I37589d5b1bc5fdaa246b1ba892f0ecb5a9aa50e7

extract-files.sh

index 07ae10f3520a7e9f98e449312e7edc44cda7a80f..c00efdb65a72f7ed819a8a6083bcd5a03ba8362b 100755 (executable)
@@ -10,9 +10,9 @@ function blob_fixup() {
     case "${1}" in
         vendor/bin/hw/android.hardware.security.keymint-service.amlogic)
             [ "$2" = "" ] && return 0
-            "${PATCHELF}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V3-ndk.so" "${2}"
-            "${PATCHELF}" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "${2}"
-            "${PATCHELF}" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "${2}"
+            "${PATCHELF_0_18}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V3-ndk.so" "${2}"
+            "${PATCHELF_0_18}" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "${2}"
+            "${PATCHELF_0_18}" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "${2}"
             ;;
         # Use generic Light HAL context for led_control_service
         vendor/etc/init/led_control_service.rc)