diff options
author | Bruno Martins <bgcngm@gmail.com> | 2018-01-31 16:17:03 +0000 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-02-25 02:09:48 +0100 |
commit | f39082c259630939f16ae5a554384a1415535f29 (patch) | |
tree | 7d4a3cbbaae953cfc0f19f0c6e12fa5fbd4fa058 /rootdir | |
parent | 138360c7d1b7e6004daab82a93b1b5b84d8cad10 (diff) |
msm8996-common: Build a vendor image
* Turn the partition /factory into something more
useful for us.
Change-Id: I32a3088ef7803d3db691b9031dda2dbe55565ba3
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/fstab.full | 1 | ||||
-rw-r--r-- | rootdir/etc/fstab.qcom | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/rootdir/etc/fstab.full b/rootdir/etc/fstab.full index 4c3d9c6..8f3aa35 100644 --- a/rootdir/etc/fstab.full +++ b/rootdir/etc/fstab.full @@ -9,6 +9,7 @@ /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults /dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults /dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait +/dev/block/bootdevice/by-name/factory /vendor ext4 ro,barrier=1 wait /dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,inline_xattr,data_flush wait,check,encryptable=footer,length=-16384 /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,barrier=1,noauto_da_alloc wait,check,encryptable=footer,length=-16384 /dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait,check diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom index 3da3e16..d50afd4 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -1,9 +1,10 @@ # Android fstab file. -# 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 +# The filesystem that contains the filesystem e2fsck binary (typically /system) cannot +# specify 'check', and must come before any filesystems that do specify 'check' -#TODO: Add 'check' as fs_mgr_flags with data partition. -# Currently we dont have e2fsck compiled. So fs check would failed. +# NOTE: /system and /vendor (/factory mounted as /vendor) partitions are now early-mounted and the fstab entry is specified in device tree: +# /proc/device-tree/firmware/android/fstab/system +# /proc/device-tree/firmware/android/fstab/vendor #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults |