Up vendor minijail override, using vndk v28 minijail
This commit is contained in:
parent
bbee56d39f
commit
41f0817f3f
@ -36,18 +36,20 @@ setprop ctl.stop storageproxyd
|
||||
|
||||
sleep 10
|
||||
|
||||
minijailSrc=/system/system_ext/apex/com.android.vndk.v28/lib/libminijail.so
|
||||
minijailSrc64=/system/system_ext/apex/com.android.vndk.v28/lib64/libminijail.so
|
||||
if [ "$vndk" = 27 ];then
|
||||
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so
|
||||
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so
|
||||
mount $minijailSrc64 /vendor/lib64/libminijail_vendor.so
|
||||
mount $minijailSrc /vendor/lib/libminijail_vendor.so
|
||||
fi
|
||||
|
||||
if [ "$vndk" = 28 ];then
|
||||
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so
|
||||
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so
|
||||
mount /system/lib64/vndk-27/libminijail.so /system/lib64/vndk-28/libminijail.so
|
||||
mount /system/lib/vndk-27/libminijail.so /system/lib/vndk-28/libminijail.so
|
||||
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail.so
|
||||
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail.so
|
||||
mount $minijailSrc64 /vendor/lib64/libminijail_vendor.so
|
||||
mount $minijailSrc /vendor/lib/libminijail_vendor.so
|
||||
mount $minijailSrc64 /system/lib64/vndk-28/libminijail.so
|
||||
mount $minijailSrc /system/lib/vndk-28/libminijail.so
|
||||
mount $minijailSrc64 /vendor/lib64/libminijail.so
|
||||
mount $minijailSrc /vendor/lib/libminijail.so
|
||||
fi
|
||||
|
||||
#Clear looping services
|
||||
|
@ -14,16 +14,18 @@ if getprop persist.sys.phh.caf.media_profile |grep -q true;then
|
||||
fi
|
||||
|
||||
|
||||
minijailSrc=/system/system_ext/apex/com.android.vndk.v28/lib/libminijail.so
|
||||
minijailSrc64=/system/system_ext/apex/com.android.vndk.v28/lib64/libminijail.so
|
||||
if [ "$vndk" = 27 ];then
|
||||
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so
|
||||
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so
|
||||
mount $minijailSrc64 /vendor/lib64/libminijail_vendor.so
|
||||
mount $minijailSrc /vendor/lib/libminijail_vendor.so
|
||||
fi
|
||||
|
||||
if [ "$vndk" = 28 ];then
|
||||
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so
|
||||
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so
|
||||
mount /system/lib64/vndk-27/libminijail.so /system/lib64/vndk-28/libminijail.so
|
||||
mount /system/lib/vndk-27/libminijail.so /system/lib/vndk-28/libminijail.so
|
||||
mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail.so
|
||||
mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail.so
|
||||
mount $minijailSrc64 /vendor/lib64/libminijail_vendor.so
|
||||
mount $minijailSrc /vendor/lib/libminijail_vendor.so
|
||||
mount $minijailSrc64 /system/lib64/vndk-28/libminijail.so
|
||||
mount $minijailSrc /system/lib/vndk-28/libminijail.so
|
||||
mount $minijailSrc64 /vendor/lib64/libminijail.so
|
||||
mount $minijailSrc /vendor/lib/libminijail.so
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user