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>
This commit is contained in:
Aníbal Limón 2017-03-20 17:33:24 -06:00 committed by Richard Purdie
parent c52fe3a77a
commit 995cb88233
1 changed files with 1 additions and 1 deletions

View File

@ -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)