diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-24 07:40:39 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-24 07:40:39 +0200 |
commit | 4feb0aa8eeef4428c265933ae9ced62e1f7ce768 (patch) | |
tree | 38bbf448f0a27928292381596a86b51423e3890c /lite-gateway-ubuntu-core | |
parent | 552ecfcaf99428ccaae649d68331eb2bbbeed390 (diff) |
lite-gateway-ubuntu-core: oneliner to generate the kernel
Change-Id: Iffe396bb6856c59f51189186a3109b9d7dd95ff0
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 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lite-gateway-ubuntu-core/builders.sh b/lite-gateway-ubuntu-core/builders.sh index 62286d74..b81f838f 100755 --- a/lite-gateway-ubuntu-core/builders.sh +++ b/lite-gateway-ubuntu-core/builders.sh @@ -35,10 +35,8 @@ 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 hummingboard-kernel.snap - cd - - + (cd hummingboard-kernel && snapcraft --target-arch armhf snap --output hummingboard-kernel.snap) + git clone --depth 1 https://github.com/madper/hummingboard-gadget.git snapcraft --target-arch armhf snap hummingboard-gadget --output hummingboard-gadget.snap |