From edf6b1d8bff72cd64b15eb522368b690a2500345 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Tue, 9 Oct 2018 20:29:41 +0800 Subject: 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 --- rootdir/etc/fstab.qcom | 1 + rootdir/etc/fstab_AB.qcom | 1 + 2 files changed, 2 insertions(+) (limited to 'rootdir') 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 -- cgit v1.2.3