aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian avery <brian.avery@intel.com>2017-02-07 12:36:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:08:15 -0800
commit3b7ab16bf8bbfa0e38fa35a31142853eb8d6f760 (patch)
tree936169ee6f6bd48e25d53d74523ac221eaed0631
parentf0d5eb39c3ec939d4d42796ab53490d08c7609a5 (diff)
downloadopenembedded-core-contrib-3b7ab16bf8bbfa0e38fa35a31142853eb8d6f760.tar.gz
bitbake: toaster: remove cut and paste cruft
There was a superfluous section in toaster start/stop script that was setting the TOASTER_DIR and had a set of comments around that setting. This was done in two places and only the last one was effective. This patch removes the spurious section to make it clearer what was happening and what TOASTER_DIR was actually getting set to. (Bitbake rev: 1f0eac0a172a4fbe1799675f2c3ce989743bd862) Signed-off-by: brian avery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/bin/toaster5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index daaf8eaac8..37a11165d2 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -255,7 +255,10 @@ case $CMD in
return 4
fi
export BITBAKE_UI='toasterui'
- $MANAGE runbuilds &
+ $MANAGE runbuilds \
+ </dev/null >>${BUILDDIR}/toaster_runbuilds.log 2>&1 \
+ & echo $! >${BUILDDIR}/.runbuilds.pid
+
# set fail safe stop system on terminal exit
trap stop_system SIGHUP
echo "Successful ${CMD}."