aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-bitbake-image.sh
blob: 4063444592c03b60d9e2e258066839331c6e5d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de
# License GPLv2

################################################################################
## bitbake the image
################################################################################

#if ! test x"${GERRIT_BRANCH}" = x"dab" ; then
#bitbake wic-tools
#fi

cat conf/local.conf


# finally, build the agl-demo-platform (we retry to catch the tar-native bug)
( ( bitbake $TARGETIMAGE ) || ( echo '## Failed once, retry ..  ##' ; sync ; sleep 2 ;  bitbake -v -v $TARGETIMAGE ) ) || ( echo '## Failed again, bail out ...' ; exit 1 ) 

bitbake --dump-signature=none $TARGETIMAGE
cp locked-sigs.inc tmp/deploy/images/
du -hs tmp/deploy/*