diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/package_manager.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 658c964277..d458a9b01d 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -614,10 +614,12 @@ class RpmPM(PackageManager): | |||
614 | self._invoke_dnf(["remove"] + pkgs) | 614 | self._invoke_dnf(["remove"] + pkgs) |
615 | else: | 615 | else: |
616 | cmd = bb.utils.which(os.getenv('PATH'), "rpm") | 616 | cmd = bb.utils.which(os.getenv('PATH'), "rpm") |
617 | args = ["-e", "--nodeps", "--root=%s" %self.target_rootfs] | 617 | args = ["-e", "-v", "--nodeps", "--root=%s" %self.target_rootfs] |
618 | 618 | ||
619 | try: | 619 | try: |
620 | bb.note("Running %s" % ' '.join([cmd] + args + pkgs)) | ||
620 | output = subprocess.check_output([cmd] + args + pkgs, stderr=subprocess.STDOUT).decode("utf-8") | 621 | output = subprocess.check_output([cmd] + args + pkgs, stderr=subprocess.STDOUT).decode("utf-8") |
622 | bb.note(output) | ||
621 | except subprocess.CalledProcessError as e: | 623 | except subprocess.CalledProcessError as e: |
622 | bb.fatal("Could not invoke rpm. Command " | 624 | bb.fatal("Could not invoke rpm. Command " |
623 | "'%s' returned %d:\n%s" % (' '.join([cmd] + args + pkgs), e.returncode, e.output.decode("utf-8"))) | 625 | "'%s' returned %d:\n%s" % (' '.join([cmd] + args + pkgs), e.returncode, e.output.decode("utf-8"))) |