Some devices require their vendor mounted to /persist even if fstab says otherwise

See https://github.com/phhusson/treble_experimentations/issues/668
This commit is contained in:
Pierre-Hugues Husson 2020-10-05 22:12:49 +02:00
parent 768afc3cbe
commit 9a2b982b7f

View File

@ -794,3 +794,7 @@ if getprop ro.bionic.cpu_variant |grep -q kryo300;then
fi fi
resetprop ro.control_privapp_permissions log resetprop ro.control_privapp_permissions log
if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then
mount /mnt/vendor/persist /persist
fi