> -----Original Message----- > From: yocto-boun...@yoctoproject.org [mailto:yocto- > boun...@yoctoproject.org] On Behalf Of Alexander Kanavin > Sent: den 3 maj 2018 15:04 > To: Paulo Neves <ptsne...@gmail.com>; Yocto list discussion > <yocto@yoctoproject.org> > Subject: Re: [yocto] ROOTFS_RPM_DEBUG undocumented > > On 05/03/2018 01:42 PM, Paulo Neves wrote: > > # Add ROOTFS_RPM_DEBUG to the documentation; > > I'd rather get rid of it, the less variables the better :) > > > # Detect if we are running with debug output and enable the debugging > > output. This is the most elegant solution but I do not know how to > > detect if debug log level is turned on; > > I don't think you are meant to detect that; bitbake's debug level is > not > meant to affect what is being printed, but merely whether it's printed > or discarded. > > > # Have dnf always print in verbose mode and print the output to > > bb.debug instead of bb.note. > > I think this is the best solution actually.
I disagree with changing bb.note to bb.debug for this. It is very good to be able to look in log.do_rootfs to see what dnf has done (we have ROOTFS_RPM_DEBUG set by default). Changing the output to debug level would mean having to run bitbake with -D, which is anything but desirable. > > I am happy to provide a patch upon decision or suggestions. > > Thank you :) Do measure the performance before and after as we don't > want to introduce a significant slowdown here. > > Alex //Peter -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto