summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-01 23:13:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-01 23:14:01 +0100
commit197652119006074f655704da113c57ab3f34e039 (patch)
tree8558af35fc62713969f67eb24aac5a262d1d4cc6 /bitbake
parent9b8eda7eb3f1402619760cde68a9c0aae50cf914 (diff)
downloadpoky-197652119006074f655704da113c57ab3f34e039.tar.gz
bitbake: cooker: Avoid error if siggen wasn't setup
In some cases we'd never have setup a siggen so don't error in that case. (Bitbake rev: bbaaf2cf7b5a9339d3790610e622020c19d52f5a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index d100b96f53..df4acca18a 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1745,7 +1745,8 @@ class BBCooker:
1745 def post_serve(self): 1745 def post_serve(self):
1746 self.shutdown(force=True) 1746 self.shutdown(force=True)
1747 prserv.serv.auto_shutdown() 1747 prserv.serv.auto_shutdown()
1748 bb.parse.siggen.exit() 1748 if hasattr(bb.parse, "siggen"):
1749 bb.parse.siggen.exit()
1749 if self.hashserv: 1750 if self.hashserv:
1750 self.hashserv.process.terminate() 1751 self.hashserv.process.terminate()
1751 self.hashserv.process.join() 1752 self.hashserv.process.join()