LG8n: Add security.rkp-V3 dependency to keymint service

The symbol _ZN4aidl7android8hardware8security7keymint29IRemotelyProvisionedComponent10descriptorE
was moved from android.hardware.security.keymint-V2-ndk to android.hardware.security.rkp-V3-ndk.

Change-Id: I7f3c40e3e8a2a848cdcb73e5232952f63681aa58
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
SGCMarkus 2024-07-25 23:54:29 +08:00 committed by Shirayuki39
parent a732505aff
commit 2dc1b3f96a

View file

@ -115,6 +115,7 @@ function blob_fixup {
"$PATCHELF" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V1-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"
grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
;;
vendor/lib64/hw/android.hardware.sensors@2.X-subhal-mediatek.so|\
vendor/lib64/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so|\