diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/packagedata.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index 7f0a89d282..ee10a233fa 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py | |||
@@ -84,7 +84,8 @@ def _pkgmap(d): | |||
84 | except OSError: | 84 | except OSError: |
85 | continue | 85 | continue |
86 | 86 | ||
87 | for pkg in pkgdata["PACKAGES"].split(): | 87 | packages = pkgdata.get("PACKAGES") or "" |
88 | for pkg in packages.split(): | ||
88 | pkgmap[pkg] = pn | 89 | pkgmap[pkg] = pn |
89 | 90 | ||
90 | return pkgmap | 91 | return pkgmap |