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

Commit 193c001e authored by Brint E. Kriebel's avatar Brint E. Kriebel Committed by Steve Kondik
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 4626bb08
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1962,6 +1962,9 @@ ifneq ($(strip $(SANITIZE_TARGET)),)
endif
ifeq ($(BOARD_USES_FULL_RECOVERY_IMAGE),true)
	$(hide) echo "full_recovery_image=true" >> $(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)
ifneq ($(INSTALLED_RECOVERYIMAGE_TARGET),)