Merge "Don't truncate ${USER} when generating ro.build.fingerprint"
This commit is contained in:
@@ -188,9 +188,7 @@ $(intermediate_system_build_prop): PRIVATE_BUILD_DESC := $(build_desc)
|
|||||||
# The string used to uniquely identify the combined build and product; used by the OTA server.
|
# The string used to uniquely identify the combined build and product; used by the OTA server.
|
||||||
ifeq (,$(strip $(BUILD_FINGERPRINT)))
|
ifeq (,$(strip $(BUILD_FINGERPRINT)))
|
||||||
ifneq ($(filter eng.%,$(BUILD_NUMBER)),)
|
ifneq ($(filter eng.%,$(BUILD_NUMBER)),)
|
||||||
# Trim down BUILD_FINGERPRINT: the default BUILD_NUMBER makes it easily exceed
|
BF_BUILD_NUMBER := $(USER)$(shell $(DATE) +%m%d%H%M)
|
||||||
# the Android system property length limit (PROPERTY_VALUE_MAX=92).
|
|
||||||
BF_BUILD_NUMBER := $(shell echo $${USER:0:6})$(shell $(DATE) +%m%d%H%M)
|
|
||||||
else
|
else
|
||||||
BF_BUILD_NUMBER := $(BUILD_NUMBER)
|
BF_BUILD_NUMBER := $(BUILD_NUMBER)
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user