summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOla x Nilsson <ola.x.nilsson@axis.com>2016-08-23 09:08:21 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-08 23:47:13 (GMT)
commit3134fb2861f57817a5c3471472c0e04b2113c531 (patch)
treea261dc33c41e789b86b2261d5afb3d277539ff5d
parentb169435134fd1a2894ac179f386697874b109a0f (diff)
downloadpoky-3134fb2861f57817a5c3471472c0e04b2113c531.tar.gz
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 <ola.x.nilsson@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 1e5d09b..14c646a 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 "