From f089d9a58711d78be4424e35d166be5d374dd9a0 Mon Sep 17 00:00:00 2001 From: Ben Fennema Date: Fri, 26 Apr 2024 08:33:57 -0700 Subject: [PATCH] Allow setting --boot_variable_file in build-ota-package-target For ota generation via build-ota-package-target, match how --oem_settings works, but for --boot_variable_file. Bug: 335732867 Test: Set BOOT_VAR_OTA_CONFIG, make dist, and check ota_metadata Change-Id: I526e2b280eb288f3abaace2a5daac97a0f7ac6d7 --- core/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Makefile b/core/Makefile index e6a5bc0d4f..e563873798 100644 --- a/core/Makefile +++ b/core/Makefile @@ -6919,6 +6919,7 @@ PATH=$(INTERNAL_USERIMAGES_BINARY_PATHS):$(dir $(ZIP2ZIP)):$$PATH \ --verbose \ --path $(HOST_OUT) \ $(if $(OEM_OTA_CONFIG), --oem_settings $(OEM_OTA_CONFIG)) \ + $(if $(BOOT_VAR_OTA_CONFIG), --boot_variable_file $(BOOT_VAR_OTA_CONFIG)) \ $(2) \ $(patsubst %.zip,%,$(BUILT_TARGET_FILES_PACKAGE)) $(1) endef