axolotl-shiftos: update blob extraction script
Change-Id: I8f3e370a52e0c80da6d3096affab70b3abdee09e
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/extract-files.sh b/extract-files.sh
index 1131286..fc8efca 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -55,8 +55,12 @@
function blob_fixup() {
case "${1}" in
+ system_ext/lib64/lib-imsvideocodec.so)
+ grep -q "libgui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libgui_shim.so" "${2}"
+ grep -q "libui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libui_shim.so" "${2}"
+ ;;
vendor/lib64/hw/camera.qcom.so)
- $PATCHELF --add-needed libcomparetf2.so "${2}"
+ grep -q "libcomparetf2_shim.so" "${2}" || "${PATCHELF}" --add-needed "libcomparetf2_shim.so" "${2}"
;;
esac
}