Skip to contentSkip to conversation

runqueue.py: not show warning for deferred multiconfig task

PATCH New [email protected] 1 participant 1 message Oct 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqueue.py: not show warning for deferred multiconfig task

From: Kai Kang <[email protected]>

When follow the instructions of multiconfig from Yocto dev manual that set in core-image-sato recipe:

do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"

it show too many annoying warnings look like:

| WARNING: Deferring mc:x86:virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot | after mc:arm: virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot

Treat them as infomations rather than warnings.

---
 bitbake/lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/runqueue.py +1 -1
index 18049436fd..21a9f02a1e 100644
@@ -2750,7 +2750,7 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq):
                 sqdata.hashes[h] = tid
             else:
                 sqrq.sq_deferred[tid] = sqdata.hashes[h]
-                bb.warn("Deferring %s after %s" % (tid, sqdata.hashes[h]))
+                bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h]))
 
 
 class TaskFailure(Exception):
Signature · 1 line
2.17.1