diff options
author | Ola x Nilsson <ola.x.nilsson@axis.com> | 2016-08-23 11:08:21 +0200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-10-19 11:10:54 +1300 |
commit | 609524c30d32259531d6be1f1634a0314fd2c146 (patch) | |
tree | be7e72df66cbb0a708931785a3216224c70b0f12 | |
parent | 020145abc704c540d0461657ed8e733aecfe8a68 (diff) | |
download | openembedded-core-contrib-609524c30d32259531d6be1f1634a0314fd2c146.tar.gz |
devtool: build_image: Fix recipe filter
The missing split() causes dev and dbg packages to match.
(From OE-Core rev: bf83e0f0a3d52958c4380599f1afc4b8e058afd7)
Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/devtool/build_image.py | 2 |
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 " |