camera: Fix ELF check failures

This commit is contained in:
Fabian Leutenegger
2025-01-23 14:59:39 +01:00
parent e8ae882ca6
commit 2f62247b61
7 changed files with 113 additions and 11 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ function blob_fixup() {
case "${1}" in
system/lib64/libgui-xiaomi.so)
[ "$2" = "" ] && return 0
patchelf --set-soname libgui-xiaomi.so "${2}"
sed -i "s/android.hardware.graphics.common-V4-ndk.so/android.hardware.graphics.common-V5-ndk.so/" "${2}"
;;
system/lib64/libcamera_algoup_jni.xiaomi.so|system/lib64/libcamera_mianode_jni.xiaomi.so)
[ "$2" = "" ] && return 0