]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: cooker: Improve hash server startup code to avoid exit tracebacks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Aug 2019 14:56:20 +0000 (15:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Aug 2019 16:28:23 +0000 (17:28 +0100)
commit5f5bc81b3eb740374cef6e9bb4125e038b5add17
treee617a30fe18d4e6ce826579be360c210654f8723
parentabda938d665bacc867e6328926892fbeb414f517
bitbake: cooker: Improve hash server startup code to avoid exit tracebacks

At exit the hashserv code was causing tracebacks as join() wasn't
being called from the thread that started the process. Ensure that
the hashserver is started from the pre_serve hook which is the
final thread the cooker runs in. This avoids the traceback at the
expense of some horrific poking into data stores which will ultimately
need improving through a proper API.

(Bitbake rev: 05888700e5f6cba48a26c8a4c447634a28e3baa6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py
bitbake/lib/hashserv/__init__.py