aboutsummaryrefslogtreecommitdiffstats
path: root/tools/buildinfo.sh
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2015-06-29 17:20:43 -0700
committerDaniel Rosenberg <drosen@google.com>2015-07-31 16:52:21 -0700
commit59156a6b7ddb061e44fd31ec7c709976d3b8d9bb (patch)
tree2fd137d5dcbf87d68938eb288ca9ef0605f29bc5 /tools/buildinfo.sh
parentdd24da9ec91b74b7e3c8d1af9f1f9f792d41ac4d (diff)
downloadplatform_build-59156a6b7ddb061e44fd31ec7c709976d3b8d9bb.tar.gz
platform_build-59156a6b7ddb061e44fd31ec7c709976d3b8d9bb.tar.bz2
platform_build-59156a6b7ddb061e44fd31ec7c709976d3b8d9bb.zip
Add ro.build.system_root_image
ro.build.system_root_image is true if the root directory is built into the system image. Change-Id: I17208ebd004c63aebb09db6c3e5f795619e73bd2
Diffstat (limited to 'tools/buildinfo.sh')
-rwxr-xr-xtools/buildinfo.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh
index dcd9ab5dd5..1fb203abef 100755
--- a/tools/buildinfo.sh
+++ b/tools/buildinfo.sh
@@ -17,6 +17,9 @@ echo "ro.build.user=$USER"
echo "ro.build.host=`hostname`"
echo "ro.build.tags=$BUILD_VERSION_TAGS"
echo "ro.build.flavor=$TARGET_BUILD_FLAVOR"
+if [ -n "$BOARD_BUILD_SYSTEM_ROOT_IMAGE" ] ; then
+ echo "ro.build.system_root_image=$BOARD_BUILD_SYSTEM_ROOT_IMAGE"
+fi
echo "ro.product.model=$PRODUCT_MODEL"
echo "ro.product.brand=$PRODUCT_BRAND"
echo "ro.product.name=$PRODUCT_NAME"