From: Robert Yang Date: Tue, 31 Oct 2017 05:48:56 +0000 (+0800) Subject: package_manager.py: print running dnf command X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220b912237da78d257c5310bd07db89489afede1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git package_manager.py: print running dnf command This can make debug easier, for example, makes it easy to run the command mannually. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index ef69b18b642..99d740bf2cd 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -706,6 +706,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)) try: output = subprocess.check_output(cmd,stderr=subprocess.STDOUT).decode("utf-8") if print_output: