From: Michael Bestas Date: Tue, 10 Sep 2024 21:04:13 +0000 (+0300) Subject: exynos9610-common: Shim strongswan with libcrypto_shim X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=304a77cedff17201baea37e40aa8b662d8dd2440;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610-common: Shim strongswan 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/common.mk b/common.mk index a27da5a..701907a 100644 --- a/common.mk +++ b/common.mk @@ -226,7 +226,8 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.keymaster@3.0.vendor \ android.hardware.keymaster@3.0-impl \ - android.hardware.keymaster@3.0-service + android.hardware.keymaster@3.0-service \ + libcrypto_shim # Lights PRODUCT_PACKAGES += \ diff --git a/extract-files.sh b/extract-files.sh index e28a257..bb7e2c3 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -100,6 +100,10 @@ function blob_fixup() { "${PATCHELF}" --add-needed "libdemangle.so" "${LIBDEMANGLE}" done ;; + vendor/lib64/libstrongswan.so) + [ "$2" = "" ] && return 0 + "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}" + ;; # Remove libhidltransport/libhwbinder references vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-rbs|vendor/lib64/hw/android.hardware.gnss@1.0-impl.samsung.so|vendor/lib64/hw/android.hardware.gnss@1.1-impl.samsung.so|vendor/lib64/hw/android.hardware.gnss@2.0-impl.samsung.so|vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so) [ "$2" = "" ] && return 0