sm8550-common: Also patch gatekeeper HAL to load libcrypto-v33.so

Then again, due to asn1t.h structs changes.

Change-Id: Id3552124ddc07bf80446fd2b37b40f39c6be7a76
This commit is contained in:
Bruno Martins
2023-10-24 00:51:18 +01:00
committed by chaptsand
parent aacb95b6fc
commit c959531ebb

View File

@@ -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}" 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}" ${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) vendor/etc/vintf/manifest/sec_c2_manifest_default0_1_0.xml)
sed -i 's/default0/software/g' "${2}" sed -i 's/default0/software/g' "${2}"
;; ;;