From e087855d48f47f738b77c99d8b19bb4a9f1d71c0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 14 Aug 2019 22:36:41 +0100 Subject: 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 --- bitbake/lib/bb/cookerdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): 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) -- cgit 1.2.3-korg