X6833B: Add A/B OTA configuration

Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: If5e2f40b6bf55ffa7a62cc67ff3a0b1e8de6d5b3
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
Woomymy 2023-02-27 19:36:08 +01:00 committed by dodyirawan85
parent 34b1f449e1
commit 94c27c1f16

View file

@ -7,6 +7,35 @@
# A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS := \
boot \
product \
system \
vbmeta \
vbmeta_system \
vbmeta_vendor \
vendor \
vendor_boot
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 += \
update_engine \
update_verifier \
otapreopt_script \
checkpoint_gc
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true