Skip to content

Commit

Permalink
Move ro.bootimage.build.fingerprint to build.prop
Browse files Browse the repository at this point in the history
This allows to update the property when signing the build
content without the need of unpacking the boot images.

Change-Id: I51c8ae757987fda1c34a6557a384f6c4dd428e03
  • Loading branch information
Gabriele M authored and LorDClockaN committed Jan 30, 2017
1 parent a9b27ac commit f0b5c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ $(INSTALLED_DEFAULT_PROP_TARGET): $(intermediate_system_build_prop)
echo "#" >> $@;
$(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) build/tools/post_process_props.py $@

# -----------------------------------------------------------------
Expand Down Expand Up @@ -369,6 +368,7 @@ endif
$(INSTALLED_BUILD_PROP_TARGET): $(intermediate_system_build_prop) $(INSTALLED_RECOVERYIMAGE_TARGET)
@echo "Target build info: $@"
$(hide) cat $(intermediate_system_build_prop) > $@
$(hide) echo ro.bootimage.build.fingerprint="$(BUILD_FINGERPRINT_FROM_FILE)">>$@
ifdef INSTALLED_RECOVERYIMAGE_TARGET
$(hide) echo ro.expect.recovery_id=`cat $(RECOVERYIMAGE_ID_FILE)` >> $@
endif
Expand Down

0 comments on commit f0b5c3d

Please sign in to comment.