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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core