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 bfa3c9b7dc
commit 95bcf66d67

View File

@ -805,3 +805,7 @@ fi
if [ "$vndk" -le 27 ];then if [ "$vndk" -le 27 ];then
setprop persist.sys.phh.no_present_or_validate true setprop persist.sys.phh.no_present_or_validate true
fi fi
if grep -q /mnt/vendor/persist /vendor/etc/fstab.qcom;then
mount /mnt/vendor/persist /persist
fi