sm8450-common: Use v1 rkp interface for keymint

Change-Id: I281efe89458fefc37a25aa7c2555b9bf92bbdc14
This commit is contained in:
Aaron Kling
2024-08-18 17:05:38 -05:00
committed by Arian
parent 44d391f6e4
commit eb8c5d864a

View File

@@ -65,7 +65,7 @@ fi
function blob_fixup() {
case "${1}" in
vendor/bin/hw/android.hardware.security.keymint-service-qti|vendor/lib64/libqtikeymint.so)
grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
grep -q "android.hardware.security.rkp-V1-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V1-ndk.so" "${2}"
;;
vendor/etc/init/init.embmssl_server.rc)
sed -i -n '/interface/!p' "${2}"