aboutsummaryrefslogtreecommitdiffstats
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-21 22:43:04 +0000
commit576c6486f547b1d7422cdd12f688aef74ee632ae (patch)
tree36813f1cde4efad44998767646b0c98403403dc4
parentd8e59d1f840e4282859ad14397d1c06516b8eb11 (diff)
downloadopenembedded-core-contrib-576c6486f547b1d7422cdd12f688aef74ee632ae.tar.gz
openembedded-core-contrib-576c6486f547b1d7422cdd12f688aef74ee632ae.tar.bz2
openembedded-core-contrib-576c6486f547b1d7422cdd12f688aef74ee632ae.zip
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. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 888d303996a..15dc95da1f2 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)