sm6225-common: Configure vA/B

Change-Id: If530f65e5f45c047ed9eca3dcb860b761327fcab
This commit is contained in:
Dhina17 2022-12-31 17:03:49 +05:30
parent 1a922e546b
commit 856a68d016

View file

@ -4,6 +4,25 @@
# SPDX-License-Identifier: Apache-2.0
#
# A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
AB_OTA_UPDATER := true
PRODUCT_PACKAGES += \
update_engine \
update_engine_sideload \
update_verifier
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
PRODUCT_PACKAGES += \
otapreopt_script
# Shipping API level
BOARD_API_LEVEL := 30
BOARD_SHIPPING_API_LEVEL := 30