recipeparse.py: add BBLAYERS in bblayers.conf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
Please ignore this patch, I need to send a V2
Thanks
Changqing
Quoted 47 lines · Changqing Li
From: Changqing Li <[email protected]>
since commit [
97183e10fcookerdata: Show error for no BBLAYERS in bblayers.conf], no BBLAYERS in bblayers.conf will cause layerindex update failed with below error:ERROR: Traceback (most recent call last):
File "update_layer.py", line 478, in main
(tinfoil, tempdir) =recipeparse.init_parser(settings, branch, bitbakepath, nocheckout=options.nocheckout, logger=logger)File "/path/to/layerindex-web/layerindex/recipeparse.py", line 83, ininit_parser
tinfoil =utils.setup_tinfoil(bitbakepath, enable_tracking, loglevel=logger.getEffectiveLevel())
File "/path/to/layerindex-web/layerindex/utils.py", line 206, insetup_tinfoiltinfoil.prepare(config_only = True)
File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/tinfoil.py", line 413, in prepareconfig_params.updateToServer(self.server_connection.connection, os.environ.copy())
File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/cookerdata.py", line 73, in updateToServer ret, error =server.runCommand(["updateConfig", options, environment, sys.argv])
File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/server/process.py", line 410, in runCommand raisebb.BBHandledException()
bb.BBHandledExceptionSigned-off-by Changqing Li <[email protected]>--- layerindex/recipeparse.py | 1 + 1 file changed, 1 insertion(+)layerindex/recipeparse.py +1
-1@@ -79,6 +79,7 @@ def init_parser(settings, branch, bitbakepath, enable_tracking=False, nocheckout if not classic: # We need this to avoid problems with AVAILABLE_LICENSES f.write('COREBASE = "%s"\n' % core_repodir) + f.write('BBLAYERS ?= "%s"\n' % core_layerdir) pass if logger: -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#54858): https://lists.yoctoproject.org/g/yocto/message/54858
Mute This Topic: https://lists.yoctoproject.org/mt/85871827/3616873
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-