[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5239/8267] scripts/lib/compatlayer: Remove require of meta- in layer dir name



commit 995cb88233a1bfcf1d83ec21b47f430d0b39f7c3
Author: Aníbal Limón <anibal limon linux intel com>
Date:   Mon Mar 20 17:33:24 2017 -0600

    scripts/lib/compatlayer: Remove require of meta- in layer dir name
    
    The layers isn't required to have a dirctory name start with meta-
    so remove the validation.
    
    (From OE-Core rev: 576c6486f547b1d7422cdd12f688aef74ee632ae)
    
    Signed-off-by: Aníbal Limón <anibal limon linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/lib/compatlayer/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/lib/compatlayer/__init__.py b/scripts/lib/compatlayer/__init__.py
index 888d303..15dc95d 100644
--- a/scripts/lib/compatlayer/__init__.py
+++ b/scripts/lib/compatlayer/__init__.py
@@ -118,7 +118,7 @@ def detect_layers(layer_directories):
         for root, dirs, files in os.walk(directory):
             dir_name = os.path.basename(root)
             conf_dir = os.path.join(root, 'conf')
-            if dir_name.startswith('meta-') and os.path.isdir(conf_dir):
+            if os.path.isdir(conf_dir):
                 layer = _detect_layer(root)
                 if layer:
                     layers.append(layer)


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