Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2][PULL] multilib: Fix kernel-module dependency
@ 2011-09-07  8:33 Dongxiao Xu
  2011-09-07  8:33 ` [PATCH 1/2] multilib_global.bbclass: handle kernel-module-* for multilib Dongxiao Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dongxiao Xu @ 2011-09-07  8:33 UTC (permalink / raw)
  To: openembedded-core

Hi Richard,

This pull request is to fix the dependency/recommends of kernel-module-* in
other recipes. Besides, there is another patch to remove the linux-yocto
extension in multilib.conf. Please help to review and pull.

Thanks,
Dongxiao


The following changes since commit 41b7c955cfdc7b4d5c667c8a8742237d5edaca4f:

  icu-3.6: fix building with big make -j (2011-09-05 20:38:50 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dxu4/ml
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/ml

Dongxiao Xu (2):
  multilib_global.bbclass: handle kernel-module-* for multilib
  multilib: Remove the multilib extension for linux-yocto

 meta/classes/multilib_global.bbclass |    2 ++
 meta/conf/multilib.conf              |    1 -
 2 files changed, 2 insertions(+), 1 deletions(-)




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

* [PATCH 1/2] multilib_global.bbclass: handle kernel-module-* for multilib
  2011-09-07  8:33 [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Dongxiao Xu
@ 2011-09-07  8:33 ` Dongxiao Xu
  2011-09-07  8:33 ` [PATCH 2/2] multilib: Remove the multilib extension for linux-yocto Dongxiao Xu
  2011-09-07 21:58 ` [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Dongxiao Xu @ 2011-09-07  8:33 UTC (permalink / raw)
  To: openembedded-core

bitbake would report failed dependency of kernel-module-* when testing
multilib. kernel-module-* are recommended by some other recipes.

Do not extend name for kernel-module-* related packages.

[YOCTO #1456]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 meta/classes/multilib_global.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass
index 217349b..1263e4e 100644
--- a/meta/classes/multilib_global.bbclass
+++ b/meta/classes/multilib_global.bbclass
@@ -17,6 +17,8 @@ python multilib_virtclass_handler_global () {
 addhandler multilib_virtclass_handler_global
 
 def multilib_extend_name(variant, name):
+    if name.startswith("kernel-module"):
+        return name
     if name.startswith("virtual/"):
         subs = name.split("/", 1)[1]
         if not subs.startswith(variant):
-- 
1.7.1




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

* [PATCH 2/2] multilib: Remove the multilib extension for linux-yocto
  2011-09-07  8:33 [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Dongxiao Xu
  2011-09-07  8:33 ` [PATCH 1/2] multilib_global.bbclass: handle kernel-module-* for multilib Dongxiao Xu
@ 2011-09-07  8:33 ` Dongxiao Xu
  2011-09-07 21:58 ` [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Dongxiao Xu @ 2011-09-07  8:33 UTC (permalink / raw)
  To: openembedded-core

Kernel should be unique in a multilib system, so we remove the
linux-yocto's extension in multilib.conf

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 meta/conf/multilib.conf |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
index eec1da7..f23fbb7 100644
--- a/meta/conf/multilib.conf
+++ b/meta/conf/multilib.conf
@@ -242,7 +242,6 @@ BBCLASSEXTEND_append_pn-libxxf86vm = " ${MULTILIBS}"
 BBCLASSEXTEND_append_pn-libzypp = " ${MULTILIBS}"
 BBCLASSEXTEND_append_pn-lighttpd = " ${MULTILIBS}"
 BBCLASSEXTEND_append_pn-linux-libc-headers = " ${MULTILIBS}"
-BBCLASSEXTEND_append_pn-linux-yocto = " ${MULTILIBS}"
 BBCLASSEXTEND_append_pn-logrotate = " ${MULTILIBS}"
 BBCLASSEXTEND_append_pn-lrzsz = " ${MULTILIBS}"
 BBCLASSEXTEND_append_pn-lsb = " ${MULTILIBS}"
-- 
1.7.1




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

* Re: [PATCH 0/2][PULL] multilib: Fix kernel-module dependency
  2011-09-07  8:33 [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Dongxiao Xu
  2011-09-07  8:33 ` [PATCH 1/2] multilib_global.bbclass: handle kernel-module-* for multilib Dongxiao Xu
  2011-09-07  8:33 ` [PATCH 2/2] multilib: Remove the multilib extension for linux-yocto Dongxiao Xu
@ 2011-09-07 21:58 ` Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-09-07 21:58 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-09-07 at 16:33 +0800, Dongxiao Xu wrote:
> Hi Richard,
> 
> This pull request is to fix the dependency/recommends of kernel-module-* in
> other recipes. Besides, there is another patch to remove the linux-yocto
> extension in multilib.conf. Please help to review and pull.
> 
> Thanks,
> Dongxiao
> 
> 
> The following changes since commit 41b7c955cfdc7b4d5c667c8a8742237d5edaca4f:
> 
>   icu-3.6: fix building with big make -j (2011-09-05 20:38:50 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib dxu4/ml
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/ml
> 
> Dongxiao Xu (2):
>   multilib_global.bbclass: handle kernel-module-* for multilib
>   multilib: Remove the multilib extension for linux-yocto

Merged to master, thanks.

Richard




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

end of thread, other threads:[~2011-09-07 22:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07  8:33 [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Dongxiao Xu
2011-09-07  8:33 ` [PATCH 1/2] multilib_global.bbclass: handle kernel-module-* for multilib Dongxiao Xu
2011-09-07  8:33 ` [PATCH 2/2] multilib: Remove the multilib extension for linux-yocto Dongxiao Xu
2011-09-07 21:58 ` [PATCH 0/2][PULL] multilib: Fix kernel-module dependency Richard Purdie

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