mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
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:
parent
34b1f449e1
commit
94c27c1f16
29
device.mk
29
device.mk
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue