From c863be7ba45f5babb965dd38ca779c38e334559d Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Sat, 16 Sep 2017 12:59:23 -0700 Subject: [PATCH] board_status: Add option to set cbmem path This allows the user to specify a custom path for cbmem on the DUT. Change-Id: I2c28737d6efaae238fd6831cd3d00b2142b39a4c Signed-off-by: David Hendricks Reviewed-on: https://review.coreboot.org/21565 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/board_status/board_status.sh | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 1dcca713da..76da47990f 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -24,6 +24,9 @@ REMOTE=1 FATAL=0 NONFATAL=1 +# Used if cbmem is not in default $PATH, e.g. not installed or when using `sudo` +CBMEM_PATH="" + # test a command # # $1: 0 ($LOCAL) to run command locally, @@ -172,6 +175,8 @@ show_help() { ${0}