mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: Patchelf C2 service to link against libavservices_minijail
* The libavservices_minijail_vendor library was substituted for the vendor variant of libavservices_minijail in Android 13. * Patchelf the C2 service to link against libavservices_minijail instead of libavservices_minijail_vendor. Signed-off-by: bengris32 <bengris32@protonmail.ch> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
573053ec58
commit
f6be5fba9d
|
@ -78,6 +78,9 @@ function blob_fixup {
|
||||||
vendor/etc/init/android.hardware.media.c2@1.2-mediatek.rc)
|
vendor/etc/init/android.hardware.media.c2@1.2-mediatek.rc)
|
||||||
sed -i 's/@1.2-mediatek/@1.2-mediatek-64b/g' "${2}"
|
sed -i 's/@1.2-mediatek/@1.2-mediatek-64b/g' "${2}"
|
||||||
;;
|
;;
|
||||||
|
vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b)
|
||||||
|
"${PATCHELF}" --replace-needed "libavservices_minijail_vendor.so" "libavservices_minijail.so" "${2}"
|
||||||
|
;;
|
||||||
vendor/lib*/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so)
|
vendor/lib*/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so)
|
||||||
"$PATCHELF" --replace-needed "libutils.so" "libutils-v32.so" "$2"
|
"$PATCHELF" --replace-needed "libutils.so" "libutils-v32.so" "$2"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue