clean command/s are very verbose, and return an error code even though the clean works

This commit is contained in:
root 2017-12-26 03:42:38 +00:00
parent 80a483a544
commit f5d2efe459

View File

@ -69,17 +69,14 @@ fi
#bitbake pixhawk-firmware -v #bitbake pixhawk-firmware -v
#TIP: -k means continue-after-error-for-as-much-as-possible #TIP: -k means continue-after-error-for-as-much-as-possible
MACHINE=imx6solo-3dr-1080p bitbake 3dr-solo -c clean -f -k # these clean command/s are very verbose, and return an error code even though the clean works, lets quieten them:
if [ ! $? -eq 0 ] echo "solo clean started..."
then MACHINE=imx6solo-3dr-1080p bitbake world -c cleansstate -f -k 2>&1 > /dev/null
exit 1 echo "...solo clean finished."
fi
MACHINE=imx6solo-3dr-artoo bitbake 3dr-controller -c clean -f -k echo "controller clean started..."
if [ ! $? -eq 0 ] MACHINE=imx6solo-3dr-artoo bitbake world -c cleansstate -f -k 2>&1 > /dev/null
then echo "...controller clean finished"
exit 1
fi
MACHINE=imx6solo-3dr-1080p bitbake 3dr-solo MACHINE=imx6solo-3dr-1080p bitbake 3dr-solo
if [ ! $? -eq 0 ] if [ ! $? -eq 0 ]