diff options
-rw-r--r-- | meta/lib/oe/package_manager.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 2004a42a01..47f6831f98 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1186,6 +1186,9 @@ class RpmPM(PackageManager): | |||
1186 | new_depends[new_depend] = deps[depend] | 1186 | new_depends[new_depend] = deps[depend] |
1187 | pkgs = bb.utils.join_deps(new_depends, commasep=True).split(', ') | 1187 | pkgs = bb.utils.join_deps(new_depends, commasep=True).split(', ') |
1188 | pkgs = self._pkg_translate_oe_to_smart(pkgs, attempt_only) | 1188 | pkgs = self._pkg_translate_oe_to_smart(pkgs, attempt_only) |
1189 | if not pkgs: | ||
1190 | bb.note("There are no packages to install") | ||
1191 | return | ||
1189 | if not attempt_only: | 1192 | if not attempt_only: |
1190 | bb.note('to be installed: %s' % ' '.join(pkgs)) | 1193 | bb.note('to be installed: %s' % ' '.join(pkgs)) |
1191 | cmd = "%s %s install -y %s" % \ | 1194 | cmd = "%s %s install -y %s" % \ |