forked from openkylin/platform_build
Merge "emulator: support system-as-root"
This commit is contained in:
commit
9eda23256e
|
@ -57,11 +57,13 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||||
# when finalizing them.
|
# when finalizing them.
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
|
|
||||||
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
||||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||||
|
|
||||||
|
# Enable A/B update
|
||||||
|
TARGET_NO_RECOVERY := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
|
|
@ -88,11 +88,13 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||||
# when finalizing them.
|
# when finalizing them.
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
|
|
||||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||||
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
||||||
|
|
||||||
|
# Enable A/B update
|
||||||
|
TARGET_NO_RECOVERY := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
|
|
@ -65,10 +65,12 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||||
# when finalizing them.
|
# when finalizing them.
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
|
|
||||||
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
||||||
|
|
||||||
|
# Enable A/B update
|
||||||
|
TARGET_NO_RECOVERY := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
|
|
@ -80,8 +80,6 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||||
# when finalizing them.
|
# when finalizing them.
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
|
@ -89,3 +87,7 @@ DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
||||||
|
|
||||||
DEX_PREOPT_DEFAULT := nostripping
|
DEX_PREOPT_DEFAULT := nostripping
|
||||||
|
|
||||||
|
# Enable A/B update
|
||||||
|
TARGET_NO_RECOVERY := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
|
|
@ -48,8 +48,6 @@ BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||||
# when finalizing them.
|
# when finalizing them.
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
|
@ -57,3 +55,7 @@ DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
BOARD_SEPOLICY_DIRS += \
|
BOARD_SEPOLICY_DIRS += \
|
||||||
build/target/board/generic/sepolicy \
|
build/target/board/generic/sepolicy \
|
||||||
build/target/board/generic_x86/sepolicy
|
build/target/board/generic_x86/sepolicy
|
||||||
|
|
||||||
|
# Enable A/B update
|
||||||
|
TARGET_NO_RECOVERY := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
|
|
@ -50,8 +50,6 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||||
# when finalizing them.
|
# when finalizing them.
|
||||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||||
|
@ -60,3 +58,7 @@ DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
BOARD_SEPOLICY_DIRS += \
|
BOARD_SEPOLICY_DIRS += \
|
||||||
build/target/board/generic/sepolicy \
|
build/target/board/generic/sepolicy \
|
||||||
build/target/board/generic_x86/sepolicy
|
build/target/board/generic_x86/sepolicy
|
||||||
|
|
||||||
|
# Enable A/B update
|
||||||
|
TARGET_NO_RECOVERY := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
|
Loading…
Reference in New Issue