Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] archiver.bbclass: Fix for do_populate_sdk
@ 2020-05-15  9:30 Robert Yang
  2020-05-15  9:30 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2020-05-15  9:30 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit ce6c50ea68c34e02b487d54fdd9288e04833cdef:

  wayland: fix condition for strndup detection (2020-05-14 14:13:50 +0100)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/archiver
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/archiver

Robert Yang (1):
  archiver.bbclass: Fix for do_populate_sdk

 meta/classes/archiver.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.21.0


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

* [PATCH 1/1] archiver.bbclass: Fix for do_populate_sdk
  2020-05-15  9:30 [PATCH 0/1] archiver.bbclass: Fix for do_populate_sdk Robert Yang
@ 2020-05-15  9:30 ` Robert Yang
  2020-05-15 10:00   ` [OE-core] " Paul Barker
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Yang @ 2020-05-15  9:30 UTC (permalink / raw)
  To: openembedded-core

Fixed:
$ bitbake core-image-minimal -cpopulate_sdk

Check tmp-glibc/deploy/sources, no source is archived, this patch fixes the
problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/archiver.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 48b4913a9f..49f96bdce6 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -592,4 +592,8 @@ python () {
     # gets added or removed (by adding or removing archiver.bbclass).
     if bb.data.inherits_class('kernel-yocto', d):
         bb.build.addtask('do_kernel_configme', 'do_configure', 'do_unpack_and_patch', d)
+
+    # For populate_sdk
+    if bb.data.inherits_class('image', d):
+        d.appendVarFlag('do_populate_sdk', 'recrdeptask', ' do_deploy_archives')
 }
-- 
2.21.0


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

* Re: [OE-core] [PATCH 1/1] archiver.bbclass: Fix for do_populate_sdk
  2020-05-15  9:30 ` [PATCH 1/1] " Robert Yang
@ 2020-05-15 10:00   ` Paul Barker
  2020-05-15 10:13     ` Robert Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Barker @ 2020-05-15 10:00 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]

Robert,

I recommend we use the following patch instead as it's simpler:
https://lists.openembedded.org/g/openembedded-core/message/136168

Thanks,
Paul

On Fri, 15 May 2020 at 10:31, Robert Yang <liezhi.yang@windriver.com> wrote:

> Fixed:
> $ bitbake core-image-minimal -cpopulate_sdk
>
> Check tmp-glibc/deploy/sources, no source is archived, this patch fixes the
> problem.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/classes/archiver.bbclass | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
> index 48b4913a9f..49f96bdce6 100644
> --- a/meta/classes/archiver.bbclass
> +++ b/meta/classes/archiver.bbclass
> @@ -592,4 +592,8 @@ python () {
>      # gets added or removed (by adding or removing archiver.bbclass).
>      if bb.data.inherits_class('kernel-yocto', d):
>          bb.build.addtask('do_kernel_configme', 'do_configure',
> 'do_unpack_and_patch', d)
> +
> +    # For populate_sdk
> +    if bb.data.inherits_class('image', d):
> +        d.appendVarFlag('do_populate_sdk', 'recrdeptask', '
> do_deploy_archives')
>  }
> --
> 2.21.0
>
> 
>

[-- Attachment #2: Type: text/html, Size: 1837 bytes --]

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

* Re: [OE-core] [PATCH 1/1] archiver.bbclass: Fix for do_populate_sdk
  2020-05-15 10:00   ` [OE-core] " Paul Barker
@ 2020-05-15 10:13     ` Robert Yang
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2020-05-15 10:13 UTC (permalink / raw)
  To: Paul Barker; +Cc: openembedded-core



On 5/15/20 6:00 PM, Paul Barker wrote:
> Robert,
> 
> I recommend we use the following patch instead as it's simpler: 
> https://lists.openembedded.org/g/openembedded-core/message/136168

Yes, that looks better, then please ignore my patch.

// Robert

> 
> Thanks,
> Paul
> 
> On Fri, 15 May 2020 at 10:31, Robert Yang <liezhi.yang@windriver.com 
> <mailto:liezhi.yang@windriver.com>> wrote:
> 
>     Fixed:
>     $ bitbake core-image-minimal -cpopulate_sdk
> 
>     Check tmp-glibc/deploy/sources, no source is archived, this patch fixes the
>     problem.
> 
>     Signed-off-by: Robert Yang <liezhi.yang@windriver.com
>     <mailto:liezhi.yang@windriver.com>>
>     ---
>       meta/classes/archiver.bbclass | 4 ++++
>       1 file changed, 4 insertions(+)
> 
>     diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
>     index 48b4913a9f..49f96bdce6 100644
>     --- a/meta/classes/archiver.bbclass
>     +++ b/meta/classes/archiver.bbclass
>     @@ -592,4 +592,8 @@ python () {
>           # gets added or removed (by adding or removing archiver.bbclass).
>           if bb.data.inherits_class('kernel-yocto', d):
>               bb.build.addtask('do_kernel_configme', 'do_configure',
>     'do_unpack_and_patch', d)
>     +
>     +    # For populate_sdk
>     +    if bb.data.inherits_class('image', d):
>     +        d.appendVarFlag('do_populate_sdk', 'recrdeptask', '
>     do_deploy_archives')
>       }
>     -- 
>     2.21.0
> 
>     
> 

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

end of thread, other threads:[~2020-05-15 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-15  9:30 [PATCH 0/1] archiver.bbclass: Fix for do_populate_sdk Robert Yang
2020-05-15  9:30 ` [PATCH 1/1] " Robert Yang
2020-05-15 10:00   ` [OE-core] " Paul Barker
2020-05-15 10:13     ` Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox