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>
Reviewed-on: https://review.coreboot.org/c/30547
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Tristan Corrick 2018-12-31 20:34:36 +13:00 committed by Patrick Georgi
parent 1ccf83c971
commit df90c626e0
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@
#DEBUG=1
# On some systems, `parted` and `debugfs` are located in /sbin.
export PATH="$PATH:/sbin"
debug()
{
test "$DEBUG" == "1" && echo "$*"