Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ce090a1 authored by Brint E. Kriebel's avatar Brint E. Kriebel Committed by Adnan Begovic
Browse files

misc_info: Add factory script location to misc_info when available

When a factory script is specified for the device, store the location
of the script in the misc_info package for proper use during package
signing.

Change-Id: Icd3ab59ebb68b8b6c92aff8eaf9e44322cdcbc18
Ticket: RM-112
parent d013e764
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1651,6 +1651,9 @@ ifneq ($(OEM_THUMBPRINT_PROPERTIES),)
endif
ifdef BUILD_NO
	$(hide) echo "build_number=$(BUILD_NO)" >> $(zip_root)/META/misc_info.txt
endif
ifdef TARGET_RELEASETOOL_FACTORY_FROM_TARGET_SCRIPT
	$(hide) echo "factory_from_target_script=$(TARGET_RELEASETOOL_FACTORY_FROM_TARGET_SCRIPT)" >> $(zip_root)/META/misc_info.txt
endif
	$(call generate-userimage-prop-dictionary, $(zip_root)/META/misc_info.txt)
ifeq ($(TARGET_RELEASETOOL_MAKE_RECOVERY_PATCH_SCRIPT),)