summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-08-11 09:15:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-11 17:43:33 +0100
commit207f2cc0b0fc53b22e1dedfa26905ab143fb0de6 (patch)
tree4c17ba14a4c5d9d4923e292ec92c3feca37ab02f /meta/lib
parent7216ddad59f6a2315323befa69eebdbf07625e25 (diff)
downloadopenembedded-core-207f2cc0b0fc53b22e1dedfa26905ab143fb0de6.tar.gz
openembedded-core-207f2cc0b0fc53b22e1dedfa26905ab143fb0de6.tar.bz2
openembedded-core-207f2cc0b0fc53b22e1dedfa26905ab143fb0de6.zip
oe.package_manager: fix use of PACKAGE_EXCLUDE for dpkg
It was iterating over the variable character-by-character rather than word-by-word. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index a0984c404b..8be3d41706 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1666,7 +1666,7 @@ class DpkgPM(PackageManager):
priority += 5
pkg_exclude = self.d.getVar('PACKAGE_EXCLUDE', True) or ""
- for pkg in pkg_exclude:
+ for pkg in pkg_exclude.split():
prefs_file.write(
"Package: %s\n"
"Pin: release *\n"