From 22d624a90418dd38bc09888505c22429f3b6af31 Mon Sep 17 00:00:00 2001 From: Steve Fung Date: Wed, 14 Oct 2015 15:54:51 -0700 Subject: [PATCH] Add the Product ID to target_files.zip When using the A/B updater, include the product id string to target_files.zip. This is needed by the Omaha backend. Bug: 24946811 Change-Id: I2ce5f6cffe440c29a1820348ee215c71cec07861 --- core/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Makefile b/core/Makefile index b1b3d13e8..0c9a825e6 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1607,6 +1607,7 @@ ifeq ($(AB_OTA_UPDATER),true) echo "$${part}" >> $(zip_root)/META/ab_partitions.txt; \ done ifdef OSRELEASED_DIRECTORY + $(hide) $(ACP) $(TARGET_OUT_ETC)/$(OSRELEASED_DIRECTORY)/product_id $(zip_root)/META/product_id.txt $(hide) $(ACP) $(TARGET_OUT_ETC)/$(OSRELEASED_DIRECTORY)/product_version $(zip_root)/META/product_version.txt endif endif