]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: runbuilds: process builds on SIGUSR1
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 16 Sep 2016 16:22:31 +0000 (17:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Sep 2016 20:58:06 +0000 (21:58 +0100)
commit64d284b26c2e9b0fcd03119302bd8512fe317cc1
tree17fad7faf8b896cfc8ddbc8c522b81382b7ea9a3
parente9a12e5d37390632ac6f265f9513106f00ccdbb9
bitbake: runbuilds: process builds on SIGUSR1

Run main processing function 'runbuild' only if SIGUSR1 is
received. This signal is sent by Toaster when build status
is changed (either started, cancelled or finished).

This should stop continuous database polling as run_builds function
will be called only when needed, i.e. after build status is changed.

[YOCTO #8918]

(Bitbake rev: 62d598cc5aa01d23f1e9284e9e926bd55b1d1878)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py