From 4991f27689f56792f217e221a1f39b391e41d4a9 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 15 Oct 2022 23:05:18 +0200 Subject: [PATCH] sm8550-common: Prevent adding same dependency twice in blob_fixup Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6 --- extract-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract-files.sh b/extract-files.sh index 9cb1e3a..a32d972 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -61,7 +61,7 @@ fi function blob_fixup() { case "${1}" in vendor/bin/hw/android.hardware.security.keymint-service) - ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}" + grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}" ;; esac }