marble: setup A/B partitions and update_engine tools
This commit is contained in:
@ -4,6 +4,21 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# A/B
|
||||||
|
AB_OTA_PARTITIONS += \
|
||||||
|
boot \
|
||||||
|
dtbo \
|
||||||
|
odm \
|
||||||
|
product \
|
||||||
|
recovery \
|
||||||
|
system \
|
||||||
|
system_ext \
|
||||||
|
vbmeta \
|
||||||
|
vbmeta_system \
|
||||||
|
vendor \
|
||||||
|
vendor_boot \
|
||||||
|
vendor_dlkm
|
||||||
|
|
||||||
# Architecture
|
# Architecture
|
||||||
TARGET_ARCH := arm64
|
TARGET_ARCH := arm64
|
||||||
TARGET_ARCH_VARIANT := armv8-a-branchprot
|
TARGET_ARCH_VARIANT := armv8-a-branchprot
|
||||||
|
28
device.mk
28
device.mk
@ -19,6 +19,23 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_ven
|
|||||||
# Setup dalvik vm configs
|
# Setup dalvik vm configs
|
||||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
||||||
|
|
||||||
|
# A/B
|
||||||
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
|
RUN_POSTINSTALL_system=true \
|
||||||
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
||||||
|
FILESYSTEM_TYPE_system=ext4 \
|
||||||
|
POSTINSTALL_OPTIONAL_system=true
|
||||||
|
|
||||||
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
|
RUN_POSTINSTALL_vendor=true \
|
||||||
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
||||||
|
FILESYSTEM_TYPE_vendor=ext4 \
|
||||||
|
POSTINSTALL_OPTIONAL_vendor=true
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
checkpoint_gc \
|
||||||
|
otapreopt_script
|
||||||
|
|
||||||
# API levels
|
# API levels
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||||
BOARD_SHIPPING_API_LEVEL := 31
|
BOARD_SHIPPING_API_LEVEL := 31
|
||||||
@ -29,4 +46,13 @@ PRODUCT_PACKAGES += \
|
|||||||
vendor_dsp_mountpoint \
|
vendor_dsp_mountpoint \
|
||||||
vendor_firmware_mnt_mountpoint
|
vendor_firmware_mnt_mountpoint
|
||||||
|
|
||||||
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||||
|
|
||||||
|
# Update engine
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
update_engine \
|
||||||
|
update_engine_sideload \
|
||||||
|
update_verifier
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
|
update_engine_client
|
Reference in New Issue
Block a user