diff options
author | Madper Xie <madper.xie@linaro.org> | 2017-03-24 00:00:58 +0800 |
---|---|---|
committer | Madper Xie <madper.xie@linaro.org> | 2017-03-24 00:00:58 +0800 |
commit | 4ef5898af99dcc847dad44036f9c2a28aa95be32 (patch) | |
tree | 67b99dab311c3f1faedb431b61a230ad157993ef /lite-gateway-ubuntu-core | |
parent | 8e20846defac034a12955ae140cbcf254aa00b00 (diff) |
lite-gateway-ubuntu-core: fix snapcraft parameter
Change-Id: Iad02dfb445e6590cb31f20b4e60d78e4c2e6741b
Diffstat (limited to 'lite-gateway-ubuntu-core')
-rwxr-xr-x | lite-gateway-ubuntu-core/builders.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lite-gateway-ubuntu-core/builders.sh b/lite-gateway-ubuntu-core/builders.sh index 372b010e..62286d74 100755 --- a/lite-gateway-ubuntu-core/builders.sh +++ b/lite-gateway-ubuntu-core/builders.sh @@ -35,8 +35,10 @@ 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 - snapcraft --target-arch armhf snap hummingboard-kernel --output hummingboard-kernel.snap - + cd hummingboard-kernel + snapcraft --target-arch armhf snap --output hummingboard-kernel.snap + cd - + git clone --depth 1 https://github.com/madper/hummingboard-gadget.git snapcraft --target-arch armhf snap hummingboard-gadget --output hummingboard-gadget.snap |