summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/rootfs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 3b53fce4ae..4e81263f17 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -595,7 +595,11 @@ class DpkgOpkgRootfs(Rootfs):
595 595
596 pkg_list = [] 596 pkg_list = []
597 597
598 pkgs = self._get_pkgs_postinsts(status_file) 598 pkgs = None
599 if not self.d.getVar('PACKAGE_INSTALL', True).strip():
600 bb.note("Building empty image")
601 else:
602 pkgs = self._get_pkgs_postinsts(status_file)
599 if pkgs: 603 if pkgs:
600 root = "__packagegroup_postinst__" 604 root = "__packagegroup_postinst__"
601 pkgs[root] = pkgs.keys() 605 pkgs[root] = pkgs.keys()