Skip to content

Commit

Permalink
clean kernel before building snap. Move rather than copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Featherston committed Jul 20, 2017
1 parent 2d43426 commit f500694
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Expand Up @@ -15,8 +15,9 @@ if [ -z "$BRAND_ID" ]; then
fi

cd snaps/tsimx6-kernel/
snapcraft clean kernel -s build
snapcraft --target-arch armhf
cp tsimx6-kernel_4.4.30_armhf.snap ../../output/tsimx6-kernel_4.4.30_armhf.snap
mv tsimx6-kernel_4.4.30_armhf.snap ../../output/tsimx6-kernel_4.4.30_armhf.snap
cd -

mkenvimage -r -s 8192 -o snaps/tsimx6-gadget/uboot.env snaps/tsimx6-gadget/uboot.env.in
Expand Down

0 comments on commit f500694

Please sign in to comment.