From f5d2efe459c935aa7ef34a293d5014db1b19d51a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Dec 2017 03:42:38 +0000 Subject: [PATCH] clean command/s are very verbose, and return an error code even though the clean works --- solo-builder/builder.sh | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/solo-builder/builder.sh b/solo-builder/builder.sh index 1f64d82..de04124 100755 --- a/solo-builder/builder.sh +++ b/solo-builder/builder.sh @@ -69,17 +69,14 @@ fi #bitbake pixhawk-firmware -v #TIP: -k means continue-after-error-for-as-much-as-possible -MACHINE=imx6solo-3dr-1080p bitbake 3dr-solo -c clean -f -k -if [ ! $? -eq 0 ] -then - exit 1 -fi +# these clean command/s are very verbose, and return an error code even though the clean works, lets quieten them: +echo "solo clean started..." +MACHINE=imx6solo-3dr-1080p bitbake world -c cleansstate -f -k 2>&1 > /dev/null +echo "...solo clean finished." -MACHINE=imx6solo-3dr-artoo bitbake 3dr-controller -c clean -f -k -if [ ! $? -eq 0 ] -then - exit 1 -fi +echo "controller clean started..." +MACHINE=imx6solo-3dr-artoo bitbake world -c cleansstate -f -k 2>&1 > /dev/null +echo "...controller clean finished" MACHINE=imx6solo-3dr-1080p bitbake 3dr-solo if [ ! $? -eq 0 ]