summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-10-31 13:48:56 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 22:32:22 +0000
commit70c122402fcc22fcccb6fc155717e0605588a33a (patch)
treec4ac2da5e99ec1f83d6061400554565cd780275c /meta
parentfe32db3ae0734ec50a7bcbcb437154de42716427 (diff)
downloadpoky-70c122402fcc22fcccb6fc155717e0605588a33a.tar.gz
package_manager.py: print running dnf command
This can make debug easier, for example, makes it easy to run the command mannually. (From OE-Core rev: 220b912237da78d257c5310bd07db89489afede1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/package_manager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index ef69b18b64..99d740bf2c 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -706,6 +706,7 @@ class RpmPM(PackageManager):
706 "--setopt=logdir=%s" % (self.d.getVar('T')) 706 "--setopt=logdir=%s" % (self.d.getVar('T'))
707 ] 707 ]
708 cmd = [dnf_cmd] + standard_dnf_args + dnf_args 708 cmd = [dnf_cmd] + standard_dnf_args + dnf_args
709 bb.note('Running %s' % ' '.join(cmd))
709 try: 710 try:
710 output = subprocess.check_output(cmd,stderr=subprocess.STDOUT).decode("utf-8") 711 output = subprocess.check_output(cmd,stderr=subprocess.STDOUT).decode("utf-8")
711 if print_output: 712 if print_output: