diff options
-rw-r--r-- | meta/lib/oe/package_manager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 3aff9d89c6..1c64205330 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1644,7 +1644,8 @@ class DpkgPM(PackageManager): | |||
1644 | 1644 | ||
1645 | priority += 5 | 1645 | priority += 5 |
1646 | 1646 | ||
1647 | for pkg in self.d.getVar('PACKAGE_EXCLUDE', True).split(): | 1647 | pkg_exclude = self.d.getVar('PACKAGE_EXCLUDE', True) or "" |
1648 | for pkg in pkg_exclude: | ||
1648 | prefs_file.write( | 1649 | prefs_file.write( |
1649 | "Package: %s\n" | 1650 | "Package: %s\n" |
1650 | "Pin: release *\n" | 1651 | "Pin: release *\n" |