[oe-commits] [bitbake] 01/01: cookerdata: Delay the setup of the siggen slightly to allow metadata defined siggens

git at git.openembedded.org git at git.openembedded.org
Thu Aug 15 07:44:03 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 6a2c19f87588b865b4ec37e3582d7dd18070130c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Aug 14 22:36:41 2019 +0100

    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 at linuxfoundation.org>
---
 lib/bb/cookerdata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py
index 144e803..96a8e6b 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list