From aca703038721dfd7d3705ba688d3e4f939ba09e9 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 16 Nov 2018 07:50:00 +0100 Subject: Enhance mirror generation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If7daff9fe1ca06f17cd1b31e4e526d92ce443c06 Signed-off-by: Jan-Simon Möller --- jjb/pre-fetch/include-prefetch.sh | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'jjb/pre-fetch') diff --git a/jjb/pre-fetch/include-prefetch.sh b/jjb/pre-fetch/include-prefetch.sh index 48177cb3..8571c5b5 100644 --- a/jjb/pre-fetch/include-prefetch.sh +++ b/jjb/pre-fetch/include-prefetch.sh @@ -1,14 +1,14 @@ #!/bin/bash -#set -x -set -e +set -x +set +e # -export BOARDS="qemux86-64 qemux86 raspberrypi3 intel-corei7-64 porter-nogfx dra7xx-evm" +export BOARDS="qemux86-64 raspberrypi3 intel-corei7-64 m3ulcb-nogfx dra7xx-evm qemuarm qemuarm64" # check: dra7xx-evm dragonboard-410c wandboard -export FEATURES="agl-demo agl-appfw-smack agl-netboot agl-sota agl-devel" -export FEATURES_nogfx="agl-appfw-smack agl-netboot agl-sota agl-devel" -export TARGETIMAGE="agl-demo-platform" -export TARGETIMAGE_nogfx="core-image-minimal" +export FEATURES="agl-demo agl-devel agl-audio-4a-framework agl-netboot" +export FEATURES_nogfx="agl-netboot agl-devel" +export TARGETIMAGE="agl-demo-platform-crosssdk" +export TARGETIMAGE_nogfx="agl-image-ivi-crosssdk" mkdir -p mirror mkdir -p sstate @@ -31,20 +31,24 @@ for i in $BOARDS ; do FEATURES="${FEATURES_nogfx}" TARGETIMAGE="${TARGETIMAGE_nogfx}" fi - source meta-agl/scripts/aglsetup.sh -m ${i} -b build-${i} ${FEATURES} + if test x"m3ulcb-nogfx" = x"$i" ; then + FEATURES="${FEATURES_nogfx}" + TARGETIMAGE="${TARGETIMAGE_nogfx}" + fi + source meta-agl/scripts/aglsetup.sh -m ${i} -b build-${i} ${FEATURES} ln -sf ../../mirror downloads ln -sf ../../sstate sstate-cache echo 'BB_GENERATE_MIRROR_TARBALLS = "1"' >> conf/local.conf #recipe tar-native-1.28-r0: task do_populate_sysroot_setscene - bitbake -k tar-native - bitbake -c fetchall ${TARGETIMAGE} + bitbake -k tar-native || true + bitbake -c fetchall ${TARGETIMAGE} -k || true popd done pushd ../mirror rm -f *.done -find . -maxdepth 1 -type d | grep -v uninative | xargs rm -rf -rm -f *bad-checksum* +( find . -maxdepth 1 -type d | grep -v uninative | xargs rm -rf ) || true +rm -f *bad-checksum* || true ls -alh popd -- cgit 1.2.3-korg