diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index f1b65bdbbc..caccd7baa9 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -647,7 +647,7 @@ class RpmPM(PackageManager): | |||
647 | symlinks=True) | 647 | symlinks=True) |
648 | 648 | ||
649 | def list_installed(self): | 649 | def list_installed(self): |
650 | output = self._invoke_dnf(["repoquery", "--installed", "--queryformat", "Package: %{name} %{arch} %{version} %{sourcerpm}\nDependencies:\n%{requires}\nRecommendations:\n%{recommends}\nDependenciesEndHere:\n"], | 650 | output = self._invoke_dnf(["repoquery", "--installed", "--queryformat", "Package: %{name} %{arch} %{version} %{name}-%{version}-%{release}.%{arch}.rpm\nDependencies:\n%{requires}\nRecommendations:\n%{recommends}\nDependenciesEndHere:\n"], |
651 | print_output = False) | 651 | print_output = False) |
652 | packages = {} | 652 | packages = {} |
653 | current_package = None | 653 | current_package = None |
@@ -659,8 +659,8 @@ class RpmPM(PackageManager): | |||
659 | current_package = package_info[0] | 659 | current_package = package_info[0] |
660 | package_arch = package_info[1] | 660 | package_arch = package_info[1] |
661 | package_version = package_info[2] | 661 | package_version = package_info[2] |
662 | package_srpm = package_info[3] | 662 | package_rpm = package_info[3] |
663 | packages[current_package] = {"arch":package_arch, "ver":package_version, "filename":package_srpm} | 663 | packages[current_package] = {"arch":package_arch, "ver":package_version, "filename":package_rpm} |
664 | current_deps = [] | 664 | current_deps = [] |
665 | elif line.startswith("Dependencies:"): | 665 | elif line.startswith("Dependencies:"): |
666 | current_state = "dependencies" | 666 | current_state = "dependencies" |