sm8450-common: Patch keymint to use ndk backend
Change-Id: I45d2e0adebdc3c1f63220698e283f0a6471bc350
This commit is contained in:
parent
5fdb2548be
commit
24f9eb44e4
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ fi
|
|||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
vendor/bin/hw/android.hardware.security.keymint-service-qti|vendor/lib64/libqtikeymint.so)
|
||||
"${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V1-ndk.so" "${2}"
|
||||
"${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "${2}"
|
||||
"${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-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)
|
||||
|
|
Loading…
Reference in a new issue