summaryrefslogtreecommitdiff
path: root/host/arch/x86/lib/crossystem_arch.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-11-23 12:22:29 -0500
committerchrome-bot <chrome-bot@chromium.org>2016-11-29 17:41:03 -0800
commit1e9245dfff914107ec06aac84f3b70c2df1f4a41 (patch)
tree3766ce65407bd95916bd4e61763ccaa04880eff7 /host/arch/x86/lib/crossystem_arch.c
parentc66cbc3440b03440d591274b188ea62b2de7af80 (diff)
downloadvboot-1e9245dfff914107ec06aac84f3b70c2df1f4a41.tar.gz
image_signing: unify board extraction logic from lsb-releasefirmware-servo-9040.Bfirmware-reef-9042.87.B
We had two places extracting the board value from lsb-release and parsing the output by hand. Unify them to use the same parsing logic to avoid desynchronized behavior. We also create a new get_boardvar_from_lsb_release helper to unify the board name -> variable name mangling logic. BUG=chromium:667192 TEST=`./security_test_image --board samus` still detects the correct board BRANCH=None Change-Id: If88a8ae59b9c9fd45ddd796653a0173ed0186d2d Reviewed-on: https://chromium-review.googlesource.com/414224 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'host/arch/x86/lib/crossystem_arch.c')
0 files changed, 0 insertions, 0 deletions