[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2071/8267] devtool: build_image: Fix recipe filter



commit 07ebdbebdf3f744f4df80ebc4b0d78f9609220e8
Author: Ola x Nilsson <ola x nilsson axis com>
Date:   Tue Aug 23 11:08:21 2016 +0200

    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>

 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 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):
     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 "


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]