sm7125: Go erofs

fourteen-wip
Ruchit Marathe 2 years ago committed by Jenna
parent a5af26bb80
commit 986937e5bf
  1. 9
      BoardConfigCommon.mk
  2. 4
      rootdir/etc/fstab.default

@ -95,10 +95,10 @@ BOARD_ROOT_EXTRA_FOLDERS += \
# File systems
BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := f2fs
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs
BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := erofs
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_USES_METADATA_PARTITION := true
@ -125,6 +125,7 @@ BOARD_VENDORIMAGE_EXTFS_INODE_COUNT := -1
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT := -1
BOARD_ODMIMAGE_EXTFS_INODE_COUNT := -1
BOARD_EROFS_PCLUSTER_SIZE := 131072
BOARD_FLASH_BLOCK_SIZE := 131072
# Out dirs

@ -34,10 +34,14 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system ext4 ro wait,logical,first_stage_mount
system /system erofs ro wait,logical,first_stage_mount
system /system f2fs ro wait,logical,first_stage_mount
product /product ext4 ro wait,logical,first_stage_mount
product /product erofs ro wait,logical,first_stage_mount
vendor /vendor ext4 ro wait,logical,first_stage_mount
vendor /vendor erofs ro wait,logical,first_stage_mount
odm /odm ext4 ro wait,logical,first_stage_mount
odm /odm erofs ro wait,logical,first_stage_mount
/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/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check

Loading…
Cancel
Save