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 committed by tboy1991
parent b53b105e83
commit a266e770e8

View File

@ -798,3 +798,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