From: Ola x Nilsson Date: Tue, 23 Aug 2016 09:08:21 +0000 (+0200) Subject: devtool: build_image: Fix recipe filter X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf83e0f0a3d52958c4380599f1afc4b8e058afd7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git devtool: build_image: Fix recipe filter The missing split() causes dev and dbg packages to match. Signed-off-by: Ola x Nilsson Signed-off-by: Ross Burton --- diff --git a/scripts/lib/devtool/build_image.py b/scripts/lib/devtool/build_image.py index 1e5d09b39e1..14c646a0668 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 "