소스 검색

Use oem as /vendor

treble-odm
Felix 8 달 전
부모
커밋
1170e85e45
2개의 변경된 파일17개의 추가작업 그리고 4개의 파일을 삭제
  1. 15
    2
      PlatformConfig.mk
  2. 2
    2
      rootdir/vendor/etc/fstab.loire

+ 15
- 2
PlatformConfig.mk 파일 보기

@@ -81,7 +81,20 @@ TARGET_USES_GRALLOC1 := true
# Cache partititon
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4

# Platform witout a vendor partition
TARGET_COPY_OUT_VENDOR := system/vendor
BOARD_VNDK_VERSION := current
PRODUCT_SHIPPING_API_LEVEL := 26
PRODUCT_USE_VNDK_OVERRIDE := true
# Include vndk/vndk-sp/ll-ndk modules
PRODUCT_PACKAGES += vndk_package

# Platform uses separate vendor partition
TARGET_COPY_OUT_VENDOR := vendor

BOARD_VENDORIMAGE_PARTITION_SIZE := 419430400
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_VENDORIMAGE_JOURNAL_SIZE := 0
BOARD_VENDORIMAGE_EXTFS_INODE_COUNT := 4096

BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true

include device/sony/common/CommonConfig.mk

+ 2
- 2
rootdir/vendor/etc/fstab.loire 파일 보기

@@ -3,13 +3,13 @@
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/oem /odm ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/oem /vendor ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable,forceencrypt=footer,quota
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/FOTAKernel /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/config /persistent emmc defaults defaults
/dev/block/bootdevice/by-name/dsp /system/vendor/dsp ext4 ro,nosuid,nodev,barrier=1,data=ordered,nodelalloc,errors=panic wait,notrim
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1,data=ordered,nodelalloc,errors=panic wait,notrim
/dev/block/bootdevice/by-name/apps_log /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /system/vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:vendor_firmware_file:s0 wait
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nodelalloc,errors=panic wait,notrim

Loading…
취소
저장