[oe-commits] [openembedded-core] 18/50: devtool: build_image: Fix recipe filter
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 25 22:04:34 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit bf83e0f0a3d52958c4380599f1afc4b8e058afd7
Author: Ola x Nilsson <ola.x.nilsson at axis.com>
AuthorDate: Tue Aug 23 11:08:21 2016 +0200
devtool: build_image: Fix recipe filter
The missing split() causes dev and dbg packages to match.
Signed-off-by: Ola x Nilsson <ola.x.nilsson at axis.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/lib/devtool/build_image.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/build_image.py b/scripts/lib/devtool/build_image.py
index 1e5d09b..14c646a 100644
--- a/scripts/lib/devtool/build_image.py
+++ b/scripts/lib/devtool/build_image.py
@@ -35,7 +35,7 @@ def _get_packages(tinfoil, workspace, config):
for recipe in workspace:
data = parse_recipe(config, tinfoil, recipe, True)
if 'class-target' in data.getVar('OVERRIDES', True).split(':'):
- if recipe in data.getVar('PACKAGES', True):
+ if recipe in data.getVar('PACKAGES', True).split():
result.append(recipe)
else:
logger.warning("Skipping recipe %s as it doesn't produce a "
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list