aboutsummaryrefslogtreecommitdiff
path: root/lite-gateway-ubuntu-core
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-02-09 15:53:52 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2017-02-09 15:53:52 +0200
commit0ae0321cda3402d3fd2b260775a42e2c94244f00 (patch)
tree4ab48442108c3fd35be2f1f15bf6c6bb34667bf8 /lite-gateway-ubuntu-core
parentc9a814e7b6ce5e86f385cc922aaee0741a2bac03 (diff)
lite-gateway-ubuntu-core: add sbin to PATH
sbin isn't in the PATH by default and prevent to find mkfs.vfat Change-Id: I2e95f99f91f14986b1fd6b01b6739d85c5a4c12e Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'lite-gateway-ubuntu-core')
-rwxr-xr-xlite-gateway-ubuntu-core/builders.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lite-gateway-ubuntu-core/builders.sh b/lite-gateway-ubuntu-core/builders.sh
index ea0c6e9b..943c4343 100755
--- a/lite-gateway-ubuntu-core/builders.sh
+++ b/lite-gateway-ubuntu-core/builders.sh
@@ -20,6 +20,9 @@ cleanup_exit()
sudo rm -f ubuntu-image_* pi-3.*
}
+# sbin isn't in the PATH by default and prevent to find mkfs.vfat
+export PATH="/usr/sbin:/sbin:$PATH"
+
tar xf snap.tar -C ${HOME}
wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/lite-gateway-ubuntu-core/pi-3.json -O pi-3.json
cat pi-3.json | snap sign -k madper-new &> pi-3.model