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)
downloadpoky-d7fea14b1fe31b2bc1252b3ed64bd708325a78ad.tar.gz
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):
1666 priority += 5 1666 priority += 5
1667 1667
1668 pkg_exclude = self.d.getVar('PACKAGE_EXCLUDE', True) or "" 1668 pkg_exclude = self.d.getVar('PACKAGE_EXCLUDE', True) or ""
1669 for pkg in pkg_exclude: 1669 for pkg in pkg_exclude.split():
1670 prefs_file.write( 1670 prefs_file.write(
1671 "Package: %s\n" 1671 "Package: %s\n"
1672 "Pin: release *\n" 1672 "Pin: release *\n"