flo: setup first_stage_mount

Change-Id: Ie5f9bcbe7e218c0525b544768df187fcf36f75db
This commit is contained in:
followmsi 2019-09-21 17:58:04 +02:00
parent 513941d40e
commit a5dd874dae
2 changed files with 5 additions and 1 deletions

View File

@ -31,3 +31,7 @@ DEVICE_PACKAGE_OVERLAYS += \
PRODUCT_ENFORCE_RRO_TARGETS := \
framework-res
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.flo:$(TARGET_COPY_OUT_RAMDISK)/fstab.flo \
$(LOCAL_PATH)/rootdir/etc/fstab.flo:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.flo

View File

@ -3,7 +3,7 @@
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic latemount,wait,check,formattable
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,inline_xattr latemount,wait,check,formattable
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic latemount,wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata