[1/2] toaster: put runbuilds output into a log file

Submitted by Avery, Brian on Feb. 1, 2017, 7:11 p.m. | Patch ID: 136714

Details

Message ID 85398dee5f769e9a423761623ea68986ea79a81c.1485975972.git.brian.avery@intel.com
State Superseded
Headers show

Commit Message

Avery, Brian Feb. 1, 2017, 7:11 p.m.
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(-)

Patch hide | download patch | download mbox

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}."

Comments

Avery, Brian Feb. 8, 2017, 7:34 a.m.
This is a system generated Comment: Patch 136714 was automatically marked as superseded by patch 136842.