On Thu, Aug 6, 2020 at 5:15 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote:
> 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 > > Argh. Apparently I didn't hit any mismatches after putting that debug statement in. I was getting a file with a single \n and it was breaking the size test, hence the debug addition. Thanks for the fixup on this one. Cheers, Bruce > Signed-off-by: Richard Purdie <richard.pur...@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 > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#141276): https://lists.openembedded.org/g/openembedded-core/message/141276 Mute This Topic: https://lists.openembedded.org/mt/76024681/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-