All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation.
@ 2017-08-17  1:36 juan.m.cruz.alcaraz
  2017-08-17  7:36 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: juan.m.cruz.alcaraz @ 2017-08-17  1:36 UTC (permalink / raw)
  To: openembedded-core

From: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>

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@linux.intel.com>
---
 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 dd506a39e6..4cc8e3dd17 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):
-- 
2.13.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation.
  2017-08-17  1:36 [PATCH v2] devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation juan.m.cruz.alcaraz
@ 2017-08-17  7:36 ` Richard Purdie
  2017-08-17  8:59   ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2017-08-17  7:36 UTC (permalink / raw)
  To: juan.m.cruz.alcaraz, openembedded-core

On Wed, 2017-08-16 at 18:36 -0700, juan.m.cruz.alcaraz@linux.intel.com
wrote:
> From: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
> 
> 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@linux.intel.c
> om>
> ---
>  meta/lib/oe/copy_buildsystem.py | 8 ++++++++
>  1 file changed, 8 insertions(+)

Failed to build on the autobuilder I'm afraid:

https://autobuilder.yoctoproject.org/main/builders/nightly-x86/builds/1216/steps/BuildImages_2/logs/stdio

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation.
  2017-08-17  7:36 ` Richard Purdie
@ 2017-08-17  8:59   ` Paul Eggleton
  2017-08-17 15:17     ` Juan Manuel
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2017-08-17  8:59 UTC (permalink / raw)
  To: openembedded-core, juan.m.cruz.alcaraz

On Thursday, 17 August 2017 7:36:14 PM NZST Richard Purdie wrote:
> On Wed, 2017-08-16 at 18:36 -0700, juan.m.cruz.alcaraz@linux.intel.com
> wrote:
> > From: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
> > 
> > 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@linux.intel.c
> > om>
> > ---
> >  meta/lib/oe/copy_buildsystem.py | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> 
> Failed to build on the autobuilder I'm afraid:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-x86/builds/1216/
steps/BuildImages_2/logs/stdio

Right, the assumption that the first part will be "poky/" is probably the 
issue here. I suspect you will have to step through the list and remove 
anything that ends with '/meta-skeleton'.

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation.
  2017-08-17  8:59   ` Paul Eggleton
@ 2017-08-17 15:17     ` Juan Manuel
  0 siblings, 0 replies; 4+ messages in thread
From: Juan Manuel @ 2017-08-17 15:17 UTC (permalink / raw)
  To: Paul Eggleton, openembedded-core



On 17/08/17 03:59, Paul Eggleton wrote:
> On Thursday, 17 August 2017 7:36:14 PM NZST Richard Purdie wrote:
>> On Wed, 2017-08-16 at 18:36 -0700, juan.m.cruz.alcaraz@linux.intel.com
>> wrote:
>>> From: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
>>>
>>> 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@linux.intel.c
>>> om>
>>> ---
>>>   meta/lib/oe/copy_buildsystem.py | 8 ++++++++
>>>   1 file changed, 8 insertions(+)
>> Failed to build on the autobuilder I'm afraid:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-x86/builds/1216/
> steps/BuildImages_2/logs/stdio
>
> Right, the assumption that the first part will be "poky/" is probably the
> issue here. I suspect you will have to step through the list and remove
> anything that ends with '/meta-skeleton'.
Certainly that is the problem. I'll fix and send back.

> Cheers,
> Paul
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-17 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17  1:36 [PATCH v2] devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation juan.m.cruz.alcaraz
2017-08-17  7:36 ` Richard Purdie
2017-08-17  8:59   ` Paul Eggleton
2017-08-17 15:17     ` Juan Manuel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.