diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-11-24 11:19:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:47:46 +0000 |
commit | 999e980ee1a58d16f33ef6c0e41aecdcd0206f39 (patch) | |
tree | ab1fcbf8fc5c9b49dfc89cb9d2ce8dc35c4753d5 /bin | |
parent | c19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd (diff) | |
download | bitbake-contrib-999e980ee1a58d16f33ef6c0e41aecdcd0206f39.tar.gz |
toaster: runbuilds Write the pidfile in python rather than shell script
Write the pid file out in the start up of this management command. This
ensures this has happened instead of relying on the shell command having
been run which may or may not be the case. This also makes it simpler for
testing.
Couple of clean ups of runbuilds as identified by pyflake
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/toaster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/toaster b/bin/toaster index f92d38eca..e0aac1a7b 100755 --- a/bin/toaster +++ b/bin/toaster @@ -254,7 +254,7 @@ case $CMD in return 4 fi export BITBAKE_UI='toasterui' - $MANAGE runbuilds & echo $! >${BUILDDIR}/.runbuilds.pid + $MANAGE runbuilds & # set fail safe stop system on terminal exit trap stop_system SIGHUP echo "Successful ${CMD}." |