summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2018-10-09 20:29:41 +0800
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:52:49 +0200
commitedf6b1d8bff72cd64b15eb522368b690a2500345 (patch)
treeeb01b9cf05be265e61ccf3a0eb15823d09585917 /rootdir
parentce98e574a7ef38bcd2ffa15f91e6542cd5b437ae (diff)
wayne-common: Bind mount /mnt/vendor/persist to /persist for sensors
* Oreo sensors.qcom cannot access to persist even with the symlink Change-Id: Ifc43515c70b51aeb8c1b5db765051fb21fddb80d
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/fstab.qcom1
-rw-r--r--rootdir/etc/fstab_AB.qcom1
2 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom
index 1ccda28..3efed1e 100644
--- a/rootdir/etc/fstab.qcom
+++ b/rootdir/etc/fstab.qcom
@@ -19,6 +19,7 @@
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 nosuid,nodev,barrier=1,noatime wait,check
+/mnt/vendor/persist /persist none bind wait
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait,recoveryonly
diff --git a/rootdir/etc/fstab_AB.qcom b/rootdir/etc/fstab_AB.qcom
index 2a16f53..c4a781f 100644
--- a/rootdir/etc/fstab_AB.qcom
+++ b/rootdir/etc/fstab_AB.qcom
@@ -15,3 +15,4 @@
/devices/soc/a800000.ssusb/a800000.dwc3/xhci-hcd.0.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait,slotselect
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 nosuid,nodev,barrier=1,noatime wait,check
+/mnt/vendor/persist /persist none bind wait