mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-27 15:59:12 +00:00
taimen: Define fstab.hardware
* Since walleye and taimen require repartitioning so the definition of the system_ext is also different, we need different fstab adjustments, on the other hand this is necessary because we are no longer mounting from the kernel side. * Switch to eucalyptus kernel Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
This commit is contained in:
@@ -44,6 +44,7 @@ TARGET_RECOVERY_UI_MARGIN_HEIGHT := 105
|
||||
|
||||
# Partitions (listed in the file) to be wiped under recovery.
|
||||
TARGET_RECOVERY_WIPE := device/google/taimen/recovery.wipe
|
||||
TARGET_RECOVERY_FSTAB := device/google/taimen/fstab.hardware
|
||||
|
||||
TARGET_RECOVERY_UI_LIB := \
|
||||
librecovery_ui_taimen \
|
||||
|
||||
@@ -64,6 +64,11 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/taimen/thermal_info_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
|
||||
device/google/taimen/thermal_info_config_evt.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_evt.json
|
||||
|
||||
# Fstab Hardware
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/taimen/fstab.hardware:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.$(PRODUCT_HARDWARE) \
|
||||
device/google/taimen/fstab.hardware:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.$(PRODUCT_HARDWARE)
|
||||
|
||||
# Shims
|
||||
PRODUCT_PACKAGES += \
|
||||
libgui_shim
|
||||
|
||||
14
fstab.hardware
Normal file
14
fstab.hardware
Normal file
@@ -0,0 +1,14 @@
|
||||
# Android fstab file.
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
/dev/block/by-name/system /system ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/product /product ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/system_ext /system_ext ext4 ro,barrier=1 wait,slotselect,avb,first_stage_mount
|
||||
/dev/block/by-name/persist /persist ext4 nosuid,nodev,noatime,barrier=1 wait
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync wait,formattable
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/userdata /data ext4 errors=panic,noatime,nosuid,nodev,barrier=1,noauto_da_alloc latemount,wait,check,formattable,fileencryption=ice:aes-256-heh,eraseblk=16777216,logicalblk=4096,quota,reservedsize=128M,checkpoint=block
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/misc /misc emmc defaults defaults
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
|
||||
/devices/soc/a800000.ssusb/a800000.dwc3* auto vfat defaults voldmanaged=usb:auto
|
||||
/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8
|
||||
Reference in New Issue
Block a user