From c959531ebbda1afdcfcd36f450804c3b39a71f0b Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Tue, 24 Oct 2023 00:51:18 +0100 Subject: [PATCH] sm8550-common: Also patch gatekeeper HAL to load libcrypto-v33.so Then again, due to asn1t.h structs changes. Change-Id: Id3552124ddc07bf80446fd2b37b40f39c6be7a76 --- extract-files.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index f56efb9..b30baad 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -64,6 +64,9 @@ function blob_fixup() { grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}" ${PATCHELF} --replace-needed libcrypto.so libcrypto-v33.so "${2}" ;; + vendor/lib64/hw/gatekeeper.mdfpp.so) + ${PATCHELF} --replace-needed libcrypto.so libcrypto-v33.so "${2}" + ;; vendor/etc/vintf/manifest/sec_c2_manifest_default0_1_0.xml) sed -i 's/default0/software/g' "${2}" ;;