sm7325-common: Adapt to virtual A/B
dubai is virtual A/B where-as berlin is not Based on the logic from https://github.com/LineageOS/android_device_xiaomi_sm8250-common Change-Id: Ibadfd452365c799b290d32fd5afabc046b9f9c41
This commit is contained in:
parent
1b8366b8c7
commit
219c25e9e1
2 changed files with 13 additions and 1 deletions
|
|
@ -41,6 +41,11 @@ PRODUCT_PACKAGES += \
|
|||
WifiResTarget
|
||||
|
||||
# A/B
|
||||
ifeq ($(TARGET_IS_VAB),true)
|
||||
# Inherit virtual_ab_ota product
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
|
||||
endif
|
||||
|
||||
AB_OTA_POSTINSTALL_CONFIG += \
|
||||
RUN_POSTINSTALL_system=true \
|
||||
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue