diff --git a/config/common.mk b/config/common.mk index ac726272..89a25f9e 100644 --- a/config/common.mk +++ b/config/common.mk @@ -27,7 +27,7 @@ PRODUCT_COPY_FILES += \ vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \ vendor/lineage/prebuilt/common/bin/50-lineage.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-lineage.sh -ifneq ($(AB_OTA_PARTITIONS),) +ifneq ($(strip $(AB_OTA_PARTITIONS) $(AB_OTA_POSTINSTALL_CONFIG)),) PRODUCT_COPY_FILES += \ vendor/lineage/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \ vendor/lineage/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \