From 72a1367d5b50e80f15c88d8db63d50dce776fb7c Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 26 Sep 2019 18:06:14 -0700 Subject: [PATCH] Add virtual_ab to dynamic_partitions_info.txt ... so that it can be used during OTA package generation. Bug: 141720569 Test: apply virtual A/B OTA Change-Id: I3a1df1afb7676eed6d22be49270354119bfb5a75 --- core/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Makefile b/core/Makefile index a86b7b7790..a9887aeb8b 100644 --- a/core/Makefile +++ b/core/Makefile @@ -4299,6 +4299,9 @@ ifneq ($(BOARD_SUPER_PARTITION_GROUPS),) $(if $(_group_partition_list), \ echo "$(group)_partition_list=$(_group_partition_list)" >> $(zip_root)/META/dynamic_partitions_info.txt;)) endif # BOARD_SUPER_PARTITION_GROUPS +ifeq ($(PRODUCT_VIRTUAL_AB_OTA),true) + echo "virtual_ab=true" >> $(zip_root)/META/dynamic_partitions_info.txt +endif # PRODUCT_VIRTUAL_AB_OTA @# TODO(b/134525174): Remove `-r` after addressing the issue with recovery patch generation. $(hide) PATH=$(INTERNAL_USERIMAGES_BINARY_PATHS):$$PATH MKBOOTIMG=$(MKBOOTIMG) \ $(ADD_IMG_TO_TARGET_FILES) -a -r -v -p $(HOST_OUT) $(zip_root)