gs101: remove unused fstabs for eMMC storage
These devices will only use UFS, so remove the emmc and sdboot fstab files which are unused and outdated. Bug: 181883233 Change-Id: Ia94682eecca4d792c2a50d2336cd6a542ed282db
This commit is contained in:
parent
3014832d9a
commit
93b740b0b0
3 changed files with 2 additions and 42 deletions
|
@ -1,12 +0,0 @@
|
||||||
# Android fstab file.
|
|
||||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
|
||||||
# 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/mmcblk0p2 /system ext4 ro wait
|
|
||||||
/dev/block/mmcblk0p3 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
|
|
||||||
/dev/block/mmcblk0p4 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,noauto_da_alloc,errors=panic wait
|
|
||||||
|
|
||||||
# VOLD
|
|
||||||
/devices/13d00000.dwmmc2/mmc_host/mmc1 /storage/sdcard vfat default voldmanaged=sdcard:auto
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Android fstab file.
|
|
||||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
|
||||||
# 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/mmcblk1p2 /system ext4 ro wait
|
|
||||||
/dev/block/mmcblk1p4 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
|
|
||||||
/dev/block/mmcblk1p3 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,noauto_da_alloc,errors=panic wait
|
|
||||||
/dev/block/mmcblk1p8 /efs ext4 defaults,rw wait
|
|
||||||
|
|
||||||
# VOLD
|
|
||||||
/devices/10c00000.usb auto vfat default voldmanaged=usb1:auto
|
|
||||||
/devices/10c00000.usb/10c00000.dwc3/xhci-hcd auto vfat default voldmanaged=usb2:auto
|
|
18
device.mk
18
device.mk
|
@ -57,10 +57,6 @@ else
|
||||||
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
|
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_USES_SDMMC_BOOT := false
|
|
||||||
LOCAL_USES_UFS_BOOT := true
|
|
||||||
LOCAL_USES_EMMC_BOOT := false
|
|
||||||
|
|
||||||
# OEM Unlock reporting
|
# OEM Unlock reporting
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||||
ro.oem_unlock_supported=1
|
ro.oem_unlock_supported=1
|
||||||
|
@ -210,23 +206,13 @@ endif
|
||||||
# Recovery files
|
# Recovery files
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.gs101.rc
|
device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.gs101.rc
|
||||||
ifeq ($(LOCAL_USES_SDMMC_BOOT),true)
|
|
||||||
PRODUCT_COPY_FILES += \
|
# Fstab files
|
||||||
device/google/gs101/conf/fstab.gs101.sdboot:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.gs101 \
|
|
||||||
device/google/gs101/conf/fstab.gs101.sdboot:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.gs101
|
|
||||||
else
|
|
||||||
ifeq ($(LOCAL_USES_UFS_BOOT),true)
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/gs101/conf/fstab.gs101:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.gs101 \
|
device/google/gs101/conf/fstab.gs101:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.gs101 \
|
||||||
device/google/gs101/conf/fstab.gs101:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.gs101 \
|
device/google/gs101/conf/fstab.gs101:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.gs101 \
|
||||||
device/google/gs101/conf/fstab.persist:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.persist \
|
device/google/gs101/conf/fstab.persist:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.persist \
|
||||||
device/google/gs101/conf/fstab.gs101:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.gs101
|
device/google/gs101/conf/fstab.gs101:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.gs101
|
||||||
else
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
device/google/gs101/conf/fstab.gs101.emmc:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.gs101 \
|
|
||||||
device/google/gs101/conf/fstab.gs101.emmc:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.gs101
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Shell scripts
|
# Shell scripts
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue