diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-28 16:28:16 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-28 13:30:35 +0000 |
commit | e77b8b1d0a0e37e09520453a54f7accb69b02c5f (patch) | |
tree | 1f00e79ec5dec47dfb3f13c57b16b074b33f823e /lite-gateway-ubuntu-core | |
parent | c9996fea805ca63eec3d5e58f9533ec4d45a4fb8 (diff) |
lite-gateway-ubuntu-core: call snapcraft with sudo and add lzop package
Change-Id: Ica2e5adc37ed41146a8748116b145d820039b1e5
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'lite-gateway-ubuntu-core')
-rwxr-xr-x | lite-gateway-ubuntu-core/builders.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lite-gateway-ubuntu-core/builders.sh b/lite-gateway-ubuntu-core/builders.sh index 2cb84ae4..386477f7 100755 --- a/lite-gateway-ubuntu-core/builders.sh +++ b/lite-gateway-ubuntu-core/builders.sh @@ -6,7 +6,7 @@ echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates main universe" | sudo echo "deb http://archive.ubuntu.com/ubuntu/ xenial-proposed main universe" | sudo tee -a /etc/apt/sources.list sudo apt -q=2 update -sudo apt -q=2 install -y --no-install-recommends dosfstools snapcraft snapd squashfs-tools ubuntu-image pxz +sudo apt -q=2 install -y --no-install-recommends dosfstools lzop snapcraft snapd squashfs-tools ubuntu-image pxz set -ex @@ -35,7 +35,7 @@ sudo mount -o loop -t squashfs ubuntu-image_*.snap ${SNAP} for machine in ${MACHINES}; do if [ "${machine}" == "hummingboard" ]; then git clone --depth 1 https://github.com/madper/hummingboard-kernel.git - (cd hummingboard-kernel && snapcraft --target-arch armhf snap --output ${WORKSPACE}/hummingboard-kernel.snap) + (cd hummingboard-kernel && sudo snapcraft --target-arch armhf snap --output ${WORKSPACE}/hummingboard-kernel.snap) git clone --depth 1 https://github.com/madper/hummingboard-gadget.git snapcraft --target-arch armhf snap hummingboard-gadget --output ${WORKSPACE}/hummingboard-gadget.snap |