From f299889513e7f6d511ab55fc986d2ff4733a5a3b Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Mon, 29 Apr 2019 15:39:10 +0100 Subject: [PATCH] Remove unneeded bootimage properties These were added as part of http://r.android.com/731514, but most of these properties make no sense for the bootimage. Revert to only defining date, date.utc and fingerprint. Bug: 131066061 Test: inspect vendor/build.prop Test: boot, no SELinux warnings for removed props Change-Id: Ibbeff9870a5b71e83c2cceeb1327b12600077b23 --- core/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index c7f1fa4fca..dd2a8e06b7 100644 --- a/core/Makefile +++ b/core/Makefile @@ -504,7 +504,9 @@ endif $(hide) echo "#" >> $@; \ echo "# BOOTIMAGE_BUILD_PROPERTIES" >> $@; \ echo "#" >> $@; - $(hide) $(call generate-common-build-props,bootimage,$@) + $(hide) echo ro.bootimage.build.date=`$(DATE_FROM_FILE)`>>$@ + $(hide) echo ro.bootimage.build.date.utc=`$(DATE_FROM_FILE) +%s`>>$@ + $(hide) echo ro.bootimage.build.fingerprint="$(BUILD_FINGERPRINT_FROM_FILE)">>$@ $(hide) echo "#" >> $@; \ echo "# ADDITIONAL VENDOR BUILD PROPERTIES" >> $@; \ echo "#" >> $@;