[oe-commits] Paul Eggleton : layer.conf: set a variable to map to the OE Layer Index name

git at git.openembedded.org git at git.openembedded.org
Sat Feb 21 22:06:25 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: d1cf0edd79ec3ba3bd17126183e4cb99aa50ffaf
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d1cf0edd79ec3ba3bd17126183e4cb99aa50ffaf

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Fri Feb 20 17:44:06 2015 +0000

layer.conf: set a variable to map to the OE Layer Index name

Add a variable that allows us to map the OE-Core layer to the name that
represents it in the OpenEmbedded layer index. This will be used by
bitbake-layers layerindex-fetch so that it knows that for example
OE-Core is already fetched and included in the current configuration.

Note - it won't be required for us to go around and set this for every
layer - we can do the matching based on repo and subdirectory, but
OE-Core is somewhat special in that it does sometimes appear in
different places, for example in poky.

[YOCTO #5348]

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 4fd3a16..e5e1f06 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -11,6 +11,8 @@ BBFILE_PRIORITY_core = "5"
 # cause compatibility issues with other layers
 LAYERVERSION_core = "4"
 
+BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core"
+
 # Set a variable to get to the top of the metadata location
 COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'
 



More information about the Openembedded-commits mailing list