[1.46][PATCH] bitbake-worker: show debug output when network is enabled
Signed-off-by Martin Jansa <[email protected]>
--- bin/bitbake-worker | 2 ++ 1 file changed, 2 insertions(+)
bin/bitbake-worker +2 -0
@@ -275,6 +275,8 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask): bb.utils.disable_network(uid, gid) else: logger.debug("Skipping disable network for %s since %s is not a local uid." % (taskname, uid)) + else: + logger.debug("Skipping disable network for %s since network varFlag is set to %s." % (taskname, the_data.getVarFlag(taskname, 'network'))) # exported_vars() returns a generator which *cannot* be passed to os.environ.update() # successfully. We also need to unset anything from the environment which shouldn't be there
Signature · 1 line
2.39.2
Sorry, wrong patch was sent, ignore this one.
Quoted 28 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- bin/bitbake-worker | 2 ++ 1 file changed, 2 insertions(+)bin/bitbake-worker +0
-0@@ -275,6 +275,8 @@ def fork_off_task(cfg, data, databuilder, workerdata,extraconfigdata, runtask):
bb.utils.disable_network(uid, gid)
else:
logger.debug("Skipping disable network for %s
since %s is not a local uid." % (taskname, uid))bin/bitbake-worker +2
-0+ else: + logger.debug("Skipping disable network for %s sincenetwork varFlag is set to %s." % (taskname,
the_data.getVarFlag(taskname, 'network')))#
exported_vars()returns a generator which *cannot* be
passed toos.environ.update()# successfully. We also need to unset anything from the environment which shouldn't be there -- 2.39.2