mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Support changing readonly filesystem type with a flag
[roynatech2544: Rename flag to TARGET_FS_TYPE] Change-Id: Ie9c749a37b3d42844b1824ab1cdb7a2fa51a186b
This commit is contained in:
parent
d80918f7b5
commit
740b27bccf
3 changed files with 15 additions and 5 deletions
|
|
@ -81,7 +81,9 @@ include device/samsung/universal7885-common/configs/vintf/manifest.mk
|
|||
|
||||
# Partitions
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 37748736
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
TARGET_FS_TYPE ?= ext4
|
||||
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := $(TARGET_FS_TYPE)
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := $(TARGET_FS_TYPE)
|
||||
BOARD_FLASH_BLOCK_SIZE := 131072
|
||||
|
||||
# Properties
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
# 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
|
||||
|
||||
# system and vendor partition will be early-mounted by kernel
|
||||
# /dev/block/platform/13500000.dwmmc0/by-name/system /system ext4 ro wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime wait,check,reservedsize=128M
|
||||
|
|
@ -13,6 +11,12 @@
|
|||
/dev/block/platform/13500000.dwmmc0/by-name/misc /misc emmc defaults defaults
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/omr /metadata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,first_stage_mount,formattable,check
|
||||
|
||||
# Erofs support (Override DTBO fstab)
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/system /system ext4 ro wait,first_stage_mount
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/system /system erofs ro wait,first_stage_mount
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/vendor /vendor ext4 ro wait,first_stage_mount
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/vendor /vendor erofs ro wait,first_stage_mount
|
||||
|
||||
# VOLD :: fstab.a20e
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/hidden /preload ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic voldmanaged=preload:auto,check
|
||||
/devices/platform/13550000.dwmmc2/mmc_host/mmc1* auto vfat defaults voldmanaged=sdcard:auto
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
# 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
|
||||
|
||||
# system and vendor partition will be early-mounted by kernel
|
||||
# /dev/block/platform/13500000.dwmmc0/by-name/system /system ext4 ro wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime wait,check,reservedsize=128M
|
||||
|
|
@ -13,6 +11,12 @@
|
|||
/dev/block/platform/13500000.dwmmc0/by-name/misc /misc emmc defaults defaults
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/omr /metadata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,first_stage_mount,formattable,check
|
||||
|
||||
# Erofs support (Override DTBO fstab)
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/system /system ext4 ro wait,first_stage_mount
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/system /system erofs ro wait,first_stage_mount
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/vendor /vendor ext4 ro wait,first_stage_mount
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/vendor /vendor erofs ro wait,first_stage_mount
|
||||
|
||||
# VOLD :: fstab.a20e
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/hidden /preload ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic voldmanaged=preload:auto,check
|
||||
/devices/platform/13550000.dwmmc2/mmc_host/mmc1* auto vfat defaults voldmanaged=sdcard:auto
|
||||
|
|
|
|||
Loading…
Reference in a new issue