summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-rw-r--r--meta/lib/oe/package_manager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 2ab1d78bca..ef917f15b2 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -995,9 +995,10 @@ class RpmPM(PackageManager):
995 ''' 995 '''
996 def install(self, pkgs, attempt_only=False): 996 def install(self, pkgs, attempt_only=False):
997 997
998 bb.note("Installing the following packages: %s" % ' '.join(pkgs)) 998 if not pkgs:
999 if attempt_only and len(pkgs) == 0: 999 bb.note("There are no packages to install")
1000 return 1000 return
1001 bb.note("Installing the following packages: %s" % ' '.join(pkgs))
1001 pkgs = self._pkg_translate_oe_to_smart(pkgs, attempt_only) 1002 pkgs = self._pkg_translate_oe_to_smart(pkgs, attempt_only)
1002 1003
1003 if not attempt_only: 1004 if not attempt_only: