summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2017-03-06 17:37:48 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-03-08 01:40:23 +0000
commit677c0ffea477b2954b1ae8555e803b5d05b7f46f (patch)
tree8e8d4021f5cfbce0d47934769a66c987202b68e0
parent663de2d40c8e99f032a0b47c5e02239db716f923 (diff)
downloadchrome-ec-677c0ffea477b2954b1ae8555e803b5d05b7f46f.tar.gz
cr50: change DEV to DBG in debug images version strings
There are two types of signing of CR50 images - prod and dev. Designating images built with CR50_DEV variable set in the environment as DEV is confusing, as this has nothing to do with the signing type (dev vs prod), and is in fact indicating an image with many debug features enabled. This patch changes the string to "DBG". BRANCH=cr50 BUG=none TEST=verified that the modified image has correct string in the version field: > vers Chip: g cr50 B2-D Board: 0 RO_A: * 0.0.10/29d77172 RO_B: -1.-1.-1/ffffffff RW_A: 0.0.16/DBG/cr50_v1.1.6137-1624610+ RW_B: * 0.0.16/cr50_v1.1.6137-1624610+ Build: 0.0.16/cr50_v1.1.6137-1624610+ tpm2:v0.0.287-1a68fe6 cryptoc:v0.0.8-6283eee 2017-03-06 16:51:15 vbendeb@eskimo.mtv.corp.google.com > Change-Id: I06a97a6aff5418a4d02e71ca23813e6d2005da5c Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/450903 Reviewed-by: Mary Ruthven <mruthven@chromium.org> (cherry picked from commit 187d57f292725937b55e53b8c28b1b136c0c285b) Reviewed-on: https://chromium-review.googlesource.com/451542
-rwxr-xr-xutil/getversion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/getversion.sh b/util/getversion.sh
index 6b20db4171..18a6ee9ba1 100755
--- a/util/getversion.sh
+++ b/util/getversion.sh
@@ -71,7 +71,7 @@ get_tree_version() {
IFS="${dc}"
-ver="${CR50_DEV:+DEV/}${BOARD}_"
+ver="${CR50_DEV:+DBG/}${BOARD}_"
global_dirty= # set if any of the component repos is 'dirty'.
dir_list=( . ) # list of component directories, always includes the EC tree