From 576c6486f547b1d7422cdd12f688aef74ee632ae Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Mon, 20 Mar 2017 17:33:24 -0600 Subject: scripts/lib/compatlayer: Remove require of meta- in layer dir name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The layers isn't required to have a dirctory name start with meta- so remove the validation. Signed-off-by: Aníbal Limón Signed-off-by: Ross Burton --- scripts/lib/compatlayer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/compatlayer/__init__.py b/scripts/lib/compatlayer/__init__.py index 888d303996..15dc95da1f 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) -- cgit 1.2.3-korg