forked from openkylin/platform_build
Rebuild buildinfo.prop after installclean
aosp/1317598 has made a regression that the dependency from buildinfo.prop to INSTALLED_ANDROID_INFO_TXT_TARGET is removed. As a result, buildinfo.prop is not re-builty even after installclean, which caused inconsistency between ro.build.display.id (from buildinfo.prop) and ro.system.build.fingerprint (from build.prop which is re-built). Fixing the issue by moving buildinfo.prop from $(call intermediates-dir-for,ETC) to $(call intermediates-dir-for,PACKAGING) so that it gets deleted by installclean. Bug: 158583916 Test: m out/target/product/generic_arm64/system/build.prop m installclean m out/target/product/generic_arm64/system/build.prop Inspect out/soong/verbose.gz and check that buildinfo.prop was newly created. Change-Id: Id82b8fdc872deffb6a1764ca6d3c7114301dee1d
This commit is contained in:
parent
4a2e443ec2
commit
c60c514e1a
|
@ -230,7 +230,7 @@ define get-default-product-locale
|
|||
$(strip $(subst _,-, $(firstword $(1))))
|
||||
endef
|
||||
|
||||
gen_from_buildinfo_sh := $(call intermediates-dir-for,ETC,system_build_prop)/buildinfo.prop
|
||||
gen_from_buildinfo_sh := $(call intermediates-dir-for,PACKAGING,system_build_prop)/buildinfo.prop
|
||||
$(gen_from_buildinfo_sh): $(INTERNAL_BUILD_ID_MAKEFILE) $(API_FINGERPRINT)
|
||||
$(hide) TARGET_BUILD_TYPE="$(TARGET_BUILD_VARIANT)" \
|
||||
TARGET_BUILD_FLAVOR="$(TARGET_BUILD_FLAVOR)" \
|
||||
|
|
Loading…
Reference in New Issue