summaryrefslogtreecommitdiffstats
path: root/meta
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:44 +0100
commitd7fea14b1fe31b2bc1252b3ed64bd708325a78ad (patch)
treef0246f2fe4d911c4f23528351b37ba1c948d20a4 /meta
parent4e3e0df0eb62f73859a7edfbc18e641cbbec036b (diff)
downloadopenembedded-core-contrib-d7fea14b1fe31b2bc1252b3ed64bd708325a78ad.tar.gz
openembedded-core-contrib-d7fea14b1fe31b2bc1252b3ed64bd708325a78ad.tar.bz2
openembedded-core-contrib-d7fea14b1fe31b2bc1252b3ed64bd708325a78ad.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. (From OE-Core rev: 207f2cc0b0fc53b22e1dedfa26905ab143fb0de6) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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"