aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-06-23 14:10:35 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2016-06-23 14:10:35 +0300
commit47a6fe45700e0520ca9ea4c45f1eff55140ba492 (patch)
treebe6464e8957b2b28e3df06b461cd6fa59e2ce091
parent0e4749b783926ca200cdd3a1225c2da4cf18c75e (diff)
96boards-reference-uefi: add sbin to PATH for sgdisk
sgdisk isn't striclty needed to be run as root but is located under /sbin/, which isn't in Jenkins default PATH. After https://github.com/96boards-hikey/l-loader/commit/555ce1dcd77f1f8037e65226f9281cc437b8878a the command cannot be found anymore. Add sbin in the PATH to fix this issue. Change-Id: I00b3446adf2e113719f0b321fc339a12e133cc17 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--96boards-reference-uefi.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/96boards-reference-uefi.yaml b/96boards-reference-uefi.yaml
index a491290b8a..f332714e4d 100644
--- a/96boards-reference-uefi.yaml
+++ b/96boards-reference-uefi.yaml
@@ -99,6 +99,9 @@
sudo dpkg -i --force-all *.deb
cd ..; rm -rf acpica-unix
+ # sbin isn't in the PATH by default and prevent to find sgdisk
+ export PATH="/usr/sbin:/sbin:$PATH"
+
# Use pre-installed linaro toolchain (GCC 5.3)
export PATH="${HOME}/srv/toolchain/arm-tc-16.02/bin:${HOME}/srv/toolchain/arm64-tc-16.02/bin:$PATH"