diff options
author | Jan Altensen <info@stricted.net> | 2019-09-12 21:59:18 +0200 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-01-12 09:10:05 +0800 |
commit | b389880029114b351526477c5abc4eb8f5307035 (patch) | |
tree | 6b7ea37478a624bb827e677cba3b31d9f9c17ab5 | |
parent | 21056266341c83a1e1e13d7a76a2fcaf4590f1ce (diff) |
build: set custom fingerprint in ro.build.fingerprint too
[kubersharma001]:
* Adapt to android-12.0:
Change-Id: Iffc6583aa624bd74f420ce060f0e612769f81735
-rw-r--r-- | core/sysprop.mk | 1 | ||||
-rwxr-xr-x | tools/buildinfo.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/sysprop.mk b/core/sysprop.mk index 0bbb274027..57c53504bc 100644 --- a/core/sysprop.mk +++ b/core/sysprop.mk @@ -257,6 +257,7 @@ $(gen_from_buildinfo_sh): $(INTERNAL_BUILD_ID_MAKEFILE) $(API_FINGERPRINT) | $(B PLATFORM_VERSION_ALL_CODENAMES="$(PLATFORM_VERSION_ALL_CODENAMES)" \ PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION="$(PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION)" \ BUILD_VERSION_TAGS="$(BUILD_VERSION_TAGS)" \ + BUILD_FINGERPRINT="$(BUILD_FINGERPRINT_FROM_FILE)" \ $(if $(OEM_THUMBPRINT_PROPERTIES),BUILD_THUMBPRINT="$(BUILD_THUMBPRINT_FROM_FILE)") \ TARGET_CPU_ABI_LIST="$(TARGET_CPU_ABI_LIST)" \ TARGET_CPU_ABI_LIST_32_BIT="$(TARGET_CPU_ABI_LIST_32_BIT)" \ diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh index 1f9d411c81..2abc108eba 100755 --- a/tools/buildinfo.sh +++ b/tools/buildinfo.sh @@ -49,7 +49,8 @@ if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then fi echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS" -echo "# Do not try to parse thumbprint" +echo "# Do not try to parse fingerprint or thumbprint" +echo "ro.build.fingerprint=$BUILD_FINGERPRINT" if [ -n "$BUILD_THUMBPRINT" ] ; then echo "ro.build.thumbprint=$BUILD_THUMBPRINT" fi |