aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-14 22:36:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-21 15:30:07 +0100
commitfdf5c341f3393173876a753c46c9bd067eb2b353 (patch)
treedb76db6a610766b93110d13754e3b8824d61070c
parent94e848ae6544e628a19cb97115279b0b1678967c (diff)
downloadbitbake-fdf5c341f3393173876a753c46c9bd067eb2b353.tar.gz
cookerdata: Delay the setup of the siggen slightly to allow metadata defined siggens
If we define a metadata siggen it can fail due to the early init here. Move slightly later to avoid those failures which allows fixes in OE to the check-layer script related to the hash equiv siggen. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cookerdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py
index 144e803b4..96a8e6bee 100644
--- a/lib/bb/cookerdata.py
+++ b/lib/bb/cookerdata.py
@@ -268,11 +268,11 @@ class CookerDataBuilder(object):
def parseBaseConfiguration(self):
try:
- bb.parse.init_parser(self.basedata)
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
if self.data.getVar("BB_WORKERCONTEXT", False) is None:
bb.fetch.fetcher_init(self.data)
+ bb.parse.init_parser(self.data)
bb.codeparser.parser_cache_init(self.data)
bb.event.fire(bb.event.ConfigParsed(), self.data)