Tristan Corrick has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30547
Change subject: util/chromeos/crosfirmware.sh: Add /sbin to PATH ......................................................................
util/chromeos/crosfirmware.sh: Add /sbin to PATH
On some systems, such as Debian 9.6, `parted` and `debugfs` are located in /sbin. Adding /sbin to PATH means that this script can work when run as a regular user.
Change-Id: I151dba467e2b196f13093334273dae8a05865491 Signed-off-by: Tristan Corrick tristan@corrick.kiwi --- M util/chromeos/crosfirmware.sh 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/30547/1
diff --git a/util/chromeos/crosfirmware.sh b/util/chromeos/crosfirmware.sh index ba0c259..b4eae1a 100755 --- a/util/chromeos/crosfirmware.sh +++ b/util/chromeos/crosfirmware.sh @@ -19,6 +19,8 @@
#DEBUG=1
+export PATH="$PATH:/sbin" + debug() { test "$DEBUG" == "1" && echo "$*"