Merge "Enable /cache mount point" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
115aae0f93
@@ -56,6 +56,11 @@ 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
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
@@ -85,6 +85,11 @@ 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
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
@@ -36,6 +36,11 @@ BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
|||||||
BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
|
BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
|
||||||
BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp
|
BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
# TODO(b/36764215): remove this setting when the generic system image
|
# TODO(b/36764215): remove this setting when the generic system image
|
||||||
# no longer has QCOM-specific directories under /.
|
# no longer has QCOM-specific directories under /.
|
||||||
BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy
|
BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy
|
||||||
|
@@ -33,6 +33,11 @@ BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
|||||||
BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
|
BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
|
||||||
BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp
|
BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
# TODO(b/36764215): remove this setting when the generic system image
|
# TODO(b/36764215): remove this setting when the generic system image
|
||||||
# no longer has QCOM-specific directories under /.
|
# no longer has QCOM-specific directories under /.
|
||||||
BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy
|
BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy
|
||||||
|
@@ -58,6 +58,11 @@ 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
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
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
|
||||||
|
@@ -56,6 +56,11 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
|||||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
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
|
||||||
|
@@ -24,6 +24,11 @@ TARGET_2ND_CPU_ABI := x86
|
|||||||
TARGET_2ND_ARCH := x86
|
TARGET_2ND_ARCH := x86
|
||||||
TARGET_2ND_ARCH_VARIANT := x86_64
|
TARGET_2ND_ARCH_VARIANT := x86_64
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
# Enable A/B update
|
# Enable A/B update
|
||||||
TARGET_NO_RECOVERY := true
|
TARGET_NO_RECOVERY := true
|
||||||
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
@@ -20,6 +20,11 @@ TARGET_CPU_ABI := x86
|
|||||||
TARGET_ARCH := x86
|
TARGET_ARCH := x86
|
||||||
TARGET_ARCH_VARIANT := x86
|
TARGET_ARCH_VARIANT := x86
|
||||||
|
|
||||||
|
# Set this to create /cache mount point for non-A/B devices that mounts /cache.
|
||||||
|
# The partition size doesn't matter, just to make build pass.
|
||||||
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
|
BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
|
||||||
|
|
||||||
# Enable A/B update
|
# Enable A/B update
|
||||||
TARGET_NO_RECOVERY := true
|
TARGET_NO_RECOVERY := true
|
||||||
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||||
|
Reference in New Issue
Block a user