Tristan Corrick has uploaded this change for review.

View Change

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 "$*"

To view, visit change 30547. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I151dba467e2b196f13093334273dae8a05865491
Gerrit-Change-Number: 30547
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Corrick <tristan@corrick.kiwi>
Gerrit-MessageType: newchange