Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel-yocto: Fix bb.debug to add missing log level
@ 2020-08-06  9:15 Richard Purdie
  2020-08-06  9:33 ` ✗ patchtest: failure for " Patchwork
  2020-08-06 12:48 ` [OE-core] [PATCH] " Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Purdie @ 2020-08-06  9:15 UTC (permalink / raw)
  To: openembedded-core

Fixes warnings like:

WARNING: linux-intel-5.4.50+gitAUTOINC+caafbdfe38_89e6c056f3-r0 do_kernel_configcheck: Passed invalid debug level 'outfile size is: /home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/cfg/mismatch.txt 767' to bb.debug

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 3c428c0782e..7f870a6cc61 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -515,7 +515,7 @@ python do_kernel_configcheck() {
         with open(outfile, 'w+') as f:
             f.write( analysis )
 
-        bb.debug( "outfile size is: %s %s" % (outfile,os.stat(outfile).st_size))
+        bb.debug(1, "outfile size is: %s %s" % (outfile,os.stat(outfile).st_size))
         if config_check_visibility and os.stat(outfile).st_size > 0:
             with open (outfile, "r") as myfile:
                 results = myfile.read()
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-06 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-06  9:15 [PATCH] kernel-yocto: Fix bb.debug to add missing log level Richard Purdie
2020-08-06  9:33 ` ✗ patchtest: failure for " Patchwork
2020-08-06 12:48 ` [OE-core] [PATCH] " Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox