diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2024-04-26 16:59:49 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-05-02 22:13:18 +0000 |
commit | 04952b6c0bf9865cdde4429f262e4da3cb476e15 (patch) | |
tree | ac08cf4397044e15f31dc7711d38259caa269156 /jjb/common/include-agl-setup-and-bitbake-ivi-image.sh | |
parent | 3e5b2d91912bf6aaa4ea2e4f1522446ed66a257d (diff) |
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ieb277bf7ced1aafd70d0d6fdf73fa8a0508101e7
Diffstat (limited to 'jjb/common/include-agl-setup-and-bitbake-ivi-image.sh')
-rw-r--r-- | jjb/common/include-agl-setup-and-bitbake-ivi-image.sh | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/jjb/common/include-agl-setup-and-bitbake-ivi-image.sh b/jjb/common/include-agl-setup-and-bitbake-ivi-image.sh index 5707b9c6..ce6584d3 100644 --- a/jjb/common/include-agl-setup-and-bitbake-ivi-image.sh +++ b/jjb/common/include-agl-setup-and-bitbake-ivi-image.sh @@ -4,66 +4,3 @@ ################################################################################ ## bitbake the image ################################################################################ - -#if ! test x"${GERRIT_BRANCH}" = x"dab" ; then -#bitbake wic-tools -#fi - -echo "#### $MYPROJECT ###" - -if test x"meta-agl-devel" = x"$MYPROJECT" ; then - -if test x"qemux86-64" = x"$MACHINE" ; then - - -TARGETIMAGE="agl-image-boot-basesystem" -TARGETFEATURES="agl-basesystem agl-ci" - -echo "#### DO CI FOR $MYPROJECT , $TARGETFEATURES and $TARGETIMAGE" - -pushd $REPODIR - -SETUP_OPTS="--topic change-${GERRIT_CHANGE_NUMBER}-${GERRIT_PATCHSET_NUMBER}" - -# source the env -source meta-agl/scripts/aglsetup.sh ${SETUP_OPTS} -m ${MACHINE} -b output-meta-agl-devel -f ${TARGETFEATURES} - -# link the shared downloads and sstate-cache -ln -sf ../../downloads -ln -sf ../../sstate-cache - -echo "" >> conf/local.conf -echo "### ADDED BY AUTOBUILDER ###" >> conf/local.conf -echo "" >> conf/local.conf - -# save some pre-build env needed to uniquely identify the source -MANIFEST_R=repo-manifest-r.txt -repo manifest -r > ${MANIFEST_R} -sha1sum ${MANIFEST_R} | awk '{print $1}' > ${MANIFEST_R}.sha1 - -cat <<EOF > pre-build-env.txt -TARGETBRANCH=${TARGETBRANCH} -TARGETIMAGE=${TARGETIMAGE} -TARGETFEATURES=${TARGETFEATURES} -TARGETMACHINE=${TARGETMACHINE} -TARGETPROJECT=${TARGETPROJECT} -MACHINE=${MACHINE} -GERRIT_CHANGE_NUMBER=${GERRIT_CHANGE_NUMBER} -GERRIT_PATCHSET_NUMBER=${GERRIT_PATCHSET_NUMBER} -EOF - - -# 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 ) - - - -du -hs tmp/deploy/* - -popd - -fi -# / qemux86-64 - -fi -# / meta-agl-devel
\ No newline at end of file |