[oe-commits] [openembedded-core] 04/24: copy_buildsystem/py: adds meta-skeleton layer in the eSDK installation.

git at git.openembedded.org git at git.openembedded.org
Wed Aug 16 23:27:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit bc022bbb3c1c8682ff00e8f2287872fb6a42d06e
Author: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz at linux.intel.com>
AuthorDate: Wed Aug 16 09:51:43 2017 -0700

    copy_buildsystem/py: adds meta-skeleton layer in the eSDK installation.
    
    The eSDK installation requires the meta-skeleton layer.
    The build system might use the meta-skeleton recipes as layout
    to create custom recipes. An example is the recipetool script
    that uses the meta-skeleton kernel recipe when creating a custom
    kernel recipe.
    
    [YOCTO #11102]
    
    Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/copy_buildsystem.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index dd506a3..4cc8e3d 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -32,6 +32,10 @@ class BuildSystem(object):
 
         corebase = os.path.abspath(self.d.getVar('COREBASE'))
         layers.append(corebase)
+        # The bitbake build system uses the meta-skeleton layer as a layout
+        # for common recipies, e.g: the recipetool script to create kernel recipies
+        # Add the meta-skeleton layer to be included as part of the eSDK installation
+        layers.append(os.path.join(corebase, 'meta-skeleton'))
 
         # Exclude layers
         for layer_exclude in self.layers_exclude:
@@ -123,6 +127,10 @@ class BuildSystem(object):
                         line = line.replace('workspacelayer', workspace_newname)
                         f.write(line)
 
+        # meta-skeleton layer is added as part of the build system
+        # but not as a layer included in the build, therefore it is
+        # not reported to the function caller.
+        layers_copied.remove('poky/meta-skeleton')
         return layers_copied
 
 def generate_locked_sigs(sigfile, d):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list