From: brian avery <brian.avery@intel.com>
To: toaster@yoctoproject.org
Cc: brian avery <brian.avery@intel.com>
Subject: [PATCH 1/2] toaster: put runbuilds output into a log file
Date: Wed, 1 Feb 2017 11:11:31 -0800 [thread overview]
Message-ID: <85398dee5f769e9a423761623ea68986ea79a81c.1485975972.git.brian.avery@intel.com> (raw)
In-Reply-To: <cover.1485975972.git.brian.avery@intel.com>
The output from runbuilds should not spout over the
console where you would be running cmdline builds.
Redirected to TOASTER_DIR/toaster_runbuilds.log.
[YOCTO #11006]
Signed-off-by: brian avery <brian.avery@intel.com>
---
bitbake/bin/toaster | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index daaf8ea..37a1116 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}."
--
1.9.1
next prev parent reply other threads:[~2017-02-01 19:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-01 19:11 [PATCH 0/2] toaster: allow builddir to be named other than build bug 9992 brian avery
2017-02-01 19:11 ` brian avery [this message]
2017-02-01 19:11 ` [PATCH 2/2] toaster: move sqlite database to TOASTER_DIR brian avery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85398dee5f769e9a423761623ea68986ea79a81c.1485975972.git.brian.avery@intel.com \
--to=brian.avery@intel.com \
--cc=toaster@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).