diff options
author | Ola x Nilsson <ola.x.nilsson@axis.com> | 2016-08-23 11:08:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-25 23:03:45 +0100 |
commit | 07ebdbebdf3f744f4df80ebc4b0d78f9609220e8 (patch) | |
tree | 9bfd118ff1080012fa64a831a81d73709641a7ba /scripts/lib/devtool/build_image.py | |
parent | d97aaac2d5e0fcae896e8e9da942e804f757c54f (diff) | |
download | poky-07ebdbebdf3f744f4df80ebc4b0d78f9609220e8.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>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
-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): | |||
35 | for recipe in workspace: | 35 | for recipe in workspace: |
36 | data = parse_recipe(config, tinfoil, recipe, True) | 36 | data = parse_recipe(config, tinfoil, recipe, True) |
37 | if 'class-target' in data.getVar('OVERRIDES', True).split(':'): | 37 | if 'class-target' in data.getVar('OVERRIDES', True).split(':'): |
38 | if recipe in data.getVar('PACKAGES', True): | 38 | if recipe in data.getVar('PACKAGES', True).split(): |
39 | result.append(recipe) | 39 | result.append(recipe) |
40 | else: | 40 | else: |
41 | logger.warning("Skipping recipe %s as it doesn't produce a " | 41 | logger.warning("Skipping recipe %s as it doesn't produce a " |