diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-14 22:36:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-21 15:30:13 +0100 |
commit | e087855d48f47f738b77c99d8b19bb4a9f1d71c0 (patch) | |
tree | dfd4d683b471381520256aec0facefb36fcf8479 /bitbake/lib/bb | |
parent | dd6358438c0641919a7929270edd57434d56eac7 (diff) | |
download | poky-e087855d48f47f738b77c99d8b19bb4a9f1d71c0.tar.gz |
bitbake: 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.
(Bitbake rev: fdf5c341f3393173876a753c46c9bd067eb2b353)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cookerdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py index 144e803b4f..96a8e6beee 100644 --- a/bitbake/lib/bb/cookerdata.py +++ b/bitbake/lib/bb/cookerdata.py | |||
@@ -268,11 +268,11 @@ class CookerDataBuilder(object): | |||
268 | 268 | ||
269 | def parseBaseConfiguration(self): | 269 | def parseBaseConfiguration(self): |
270 | try: | 270 | try: |
271 | bb.parse.init_parser(self.basedata) | ||
272 | self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles) | 271 | self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles) |
273 | 272 | ||
274 | if self.data.getVar("BB_WORKERCONTEXT", False) is None: | 273 | if self.data.getVar("BB_WORKERCONTEXT", False) is None: |
275 | bb.fetch.fetcher_init(self.data) | 274 | bb.fetch.fetcher_init(self.data) |
275 | bb.parse.init_parser(self.data) | ||
276 | bb.codeparser.parser_cache_init(self.data) | 276 | bb.codeparser.parser_cache_init(self.data) |
277 | 277 | ||
278 | bb.event.fire(bb.event.ConfigParsed(), self.data) | 278 | bb.event.fire(bb.event.ConfigParsed(), self.data) |