diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-01 23:13:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-01 23:13:41 +0100 |
commit | bbaaf2cf7b5a9339d3790610e622020c19d52f5a (patch) | |
tree | 4ef626e26b1d2ac5dc1d8eeb03a5ce98420e2a01 /lib | |
parent | 42ff9de77f24e2a0bec48a14b64c4b538e00b4af (diff) | |
download | bitbake-bbaaf2cf7b5a9339d3790610e622020c19d52f5a.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index d100b96f5..df4acca18 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1745,7 +1745,8 @@ class BBCooker: def post_serve(self): self.shutdown(force=True) prserv.serv.auto_shutdown() - bb.parse.siggen.exit() + if hasattr(bb.parse, "siggen"): + bb.parse.siggen.exit() if self.hashserv: self.hashserv.process.terminate() self.hashserv.process.join() |