From: Michael Bestas Date: Tue, 10 Sep 2024 21:04:13 +0000 (+0300) Subject: wade: Shim libvendorfont with libcrypto_shim X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1bbfde806099b0d2b241a40389e2282a4c44719;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_wade.git wade: Shim libvendorfont with libcrypto_shim The following change https://github.com/google/boringssl/commit/e202e51cb0912f36dafbd2e67cf04d6ec82f3180 removed symbols that our libs require. Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29 --- diff --git a/extract-files.sh b/extract-files.sh index 4677e07..db325e5 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -8,6 +8,10 @@ function blob_fixup() { case "${1}" in + system_ext/lib/libvendorfont.so) + [ "$2" = "" ] && return 0 + "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}" + ;; vendor/bin/hw/android.hardware.security.keymint-service.amlogic) [ "$2" = "" ] && return 0 "${PATCHELF}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V3-ndk.so" "${2}"