summaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2020-11-24 00:34:40 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-12-20 18:55:02 +0200
commit53b87be04bf9605736c4abdc767160533c24063a (patch)
treecd7bc363a95982b793bdbd2f10bf16792ac6364b /extract-files.sh
parent0e1a462ca25ec60de74c6d1c65962c54e89d6cdb (diff)
sdm660-common: Move telephony related packages to /system_ext
Change-Id: I6819c2af9f0f6e0e3823b853277287fc5aa8d504
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 031451a..6b87d38 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -61,7 +61,16 @@ fi
function blob_fixup() {
case "${1}" in
- product/lib64/libdpmframework.so)
+ system_ext/etc/init/dpmd.rc)
+ sed -i "s|/system/product/bin/|/system/system_ext/bin/|g" "${2}"
+ ;;
+ system_ext/etc/permissions/com.qti.dpmframework.xml | system_ext/etc/permissions/dpmapi.xml | system_ext/etc/permissions/telephonyservice.xml)
+ sed -i "s|/system/product/framework/|/system/system_ext/framework/|g" "${2}"
+ ;;
+ system_ext/etc/permissions/qcrilhook.xml)
+ sed -i 's|/product/framework/qcrilhook.jar|/system_ext/framework/qcrilhook.jar|g' "${2}"
+ ;;
+ system_ext/lib64/libdpmframework.so)
"${PATCHELF}" --add-needed "libshim_dpmframework.so" "${2}"
;;
vendor/bin/mlipayd@1.1)