summaryrefslogtreecommitdiffstats
path: root/scripts/lib/compatlayer
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-03-20 17:33:24 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-22 11:35:22 +0000
commit995cb88233a1bfcf1d83ec21b47f430d0b39f7c3 (patch)
tree98fc9e9dd984cef7f6c75c2f8d8ca55245872d99 /scripts/lib/compatlayer
parentc52fe3a77a56df7d5b647bc91007211d8899956a (diff)
downloadpoky-995cb88233a1bfcf1d83ec21b47f430d0b39f7c3.tar.gz
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>
Diffstat (limited to 'scripts/lib/compatlayer')
-rw-r--r--scripts/lib/compatlayer/__init__.py2
1 files changed, 1 insertions, 1 deletions
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):
118 for root, dirs, files in os.walk(directory): 118 for root, dirs, files in os.walk(directory):
119 dir_name = os.path.basename(root) 119 dir_name = os.path.basename(root)
120 conf_dir = os.path.join(root, 'conf') 120 conf_dir = os.path.join(root, 'conf')
121 if dir_name.startswith('meta-') and os.path.isdir(conf_dir): 121 if os.path.isdir(conf_dir):
122 layer = _detect_layer(root) 122 layer = _detect_layer(root)
123 if layer: 123 if layer:
124 layers.append(layer) 124 layers.append(layer)