All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Shi <yang.shi@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Out-of-tree kernel module in multilib build
Date: Tue, 6 Aug 2013 16:44:25 -0700	[thread overview]
Message-ID: <52018A59.3020508@windriver.com> (raw)

Hi folks,

I'm looking a defect about out-of-tree kernel module in multilib build.

I'm building hello-mod package to run my test. During my test, I found 
module-split generates kernel-module-hello package (naming style is 
"kernel-module-" + ${moudle_name}). And, the real kernel module file is 
included in this package.

So, is this right or expected behavior to have kernel module package 
named with module name (kernel-module-hello) rather than the package 
name (kernel-module-hello-mod)? Isn't the multilib name, and 'regular' 
name for a kernel module package supposed to be identical?


But, for making multilib build happy, we need kernel-module-hello-mod 
package (naming style is "kernel-module-${PN}). Actually, it's a empty 
package (hello-mod or kernel-module-hello-mod). So, in hello-mod case, 
we need both:

kernel-module-hello-0.1-r0.4.intel_xeon_core.rpm
kernel-module-hello-mod-0.1-r0.4.intel_xeon_core.rpm

As we known, the workaround is to rename the package name to 
"kernel-module-" + ${PN} in hello-mod bb file otherwise multilib needs 
${mlib}-hello-mod package, i.e. lib32-hello-mod.

I'm not quite sure if this is a real fix or just a workaround? If it's 
not a real fix, how can we make multilib skip out-of-tree kernel module 
package? What code should I look into?

How are in-tree kernel modules skipped by multilib? Just because their 
names start with "kernel-module-"?

If we can't suppose multilib name, and 'regular' name for a kernel 
module package are identical, the workaround may sound like a real fix.

Thanks,
Yang


                 reply	other threads:[~2013-08-06 23:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52018A59.3020508@windriver.com \
    --to=yang.shi@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.