summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-04-01 11:54:57 +1100
committerCommit Bot <commit-bot@chromium.org>2021-04-06 21:12:31 +0000
commitbc22dfda4c5a003ead902664d82ad5e495290ca4 (patch)
tree9f162be3d5fc7a3f4c8beaa5c139c1e1182da790 /util
parentf38daf612e9bd788791191dfd17940d757d303fa (diff)
downloadchrome-ec-stabilize-13904.34.B-cr50_stab.tar.gz
The cr50 serial number is based on the devid, so the serial number can be found using the sysinfo devid output. The serial number is the devid without '0x's, capitalized, and the space is replaced with a '-'. echo ${DEVID//0x/} | tr '[:lower:]' '[:upper:]' | tr ' ' '-' No scripts or tests use serialno. This command saves 208 bytes. BUG=b:181999426 TEST=none Change-Id: Ib6629ceb9cfa001d8c758077119717f29116cb15 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2799442 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions