summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOla x Nilsson <ola.x.nilsson@axis.com>2016-08-23 11:08:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 22:59:30 +0100
commitbf83e0f0a3d52958c4380599f1afc4b8e058afd7 (patch)
treebbe1f6eed5bcd773cfcba7240a91042a6fcaa9dd
parentd3057cba0b01484712fcee3c52373c143608a436 (diff)
downloadopenembedded-core-contrib-bf83e0f0a3d52958c4380599f1afc4b8e058afd7.tar.gz
openembedded-core-contrib-bf83e0f0a3d52958c4380599f1afc4b8e058afd7.tar.bz2
openembedded-core-contrib-bf83e0f0a3d52958c4380599f1afc4b8e058afd7.zip
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@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--scripts/lib/devtool/build_image.py2
1 files changed, 1 insertions, 1 deletions
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 "