From 3134fb2861f57817a5c3471472c0e04b2113c531 Mon Sep 17 00:00:00 2001 From: Ola x Nilsson Date: Tue, 23 Aug 2016 11:08:21 +0200 Subject: devtool: build_image: Fix recipe filter The missing split() causes dev and dbg packages to match. (From OE-Core rev: bf83e0f0a3d52958c4380599f1afc4b8e058afd7) (From OE-Core rev: d2196d8fd25df21e9cc569f0d37f20bf6242de92) Signed-off-by: Ola x Nilsson Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- 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 1e5d09b39e..14c646a066 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 " -- cgit v1.2.3-54-g00ecf