aboutsummaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh
index ce17baa..34f1e2d 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -97,6 +97,10 @@ function blob_fixup() {
sed -i "s|/firmware/image|/vendor/f/image|g" "${2}"
;;
+ vendor/bin/pm-service)
+ "${PATCHELF}" --add-needed "libutils_shim.so" "${2}"
+ ;;
+
# Hex edit libaudcal.so to store acdbdata in new paths
vendor/lib/libaudcal.so | vendor/lib64/libaudcal.so)
sed -i "s|/data/vendor/misc/audio/acdbdata/delta/|/data/vendor/audio/acdbdata/delta/\x00\x00\x00\x00\x00|g" "${2}"