diff options
-rw-r--r-- | Android.mk | 10 | ||||
-rw-r--r-- | rootdir/etc/fstab.qcom | 1 | ||||
-rw-r--r-- | rootdir/etc/fstab_AB.qcom | 1 |
3 files changed, 5 insertions, 7 deletions
@@ -54,7 +54,7 @@ $(LOCAL_BUILT_MODULE): FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt BT_FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/bt_firmware DSP_MOUNT_POINT := $(TARGET_OUT_VENDOR)/dsp -PERSIST_MOUNT_POINT := $(TARGET_ROOT_OUT)/persist + $(FIRMWARE_MOUNT_POINT): @echo "Creating $(FIRMWARE_MOUNT_POINT)" @mkdir -p $(TARGET_OUT_VENDOR)/firmware_mnt @@ -73,12 +73,8 @@ $(DSP_MOUNT_POINT): ifneq ($(TARGET_MOUNT_POINTS_SYMLINKS),false) @ln -sf /vendor/dsp $(TARGET_ROOT_OUT)/dsp endif -$(PERSIST_MOUNT_POINT): - @echo "Creating $(PERSIST_MOUNT_POINT)" -ifneq ($(TARGET_MOUNT_POINTS_SYMLINKS),false) - @ln -sf /mnt/vendor/persist $(TARGET_ROOT_OUT)/persist -endif -ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT) $(PERSIST_MOUNT_POINT) + +ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT) IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so 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 |