[OE-core] [meta-oe][PATCH v2] package_manager.py: set dnf always debug verbosity
Alexander Kanavin
alexander.kanavin at linux.intel.com
Mon May 7 10:22:35 UTC 2018
On 05/05/2018 01:05 PM, Paulo Neves wrote:
> @@ -892,7 +892,7 @@ class RpmPM(PackageManager):
> "--setopt=logdir=%s" % (self.d.getVar('T'))
> ]
> cmd = [dnf_cmd] + standard_dnf_args + dnf_args
> - bb.note('Running %s' % ' '.join(cmd))
> + bb.debug(1, 'Running %s' % ' '.join(cmd))
This should stay as bb.note. It only prints the command with arguments
that is about to be executed.
> try:
> output = subprocess.check_output(cmd,stderr=subprocess.STDOUT).decode("utf-8")
> if print_output:
>
The actual output is logged just after these lines, so tweak it there
please. Also, this should be a separate patch.
Alex
More information about the Openembedded-core
mailing list