Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] using kernel.bbclass rename hook for external modules as well
Date: Sat, 23 Oct 2010 10:28:52 +0200	[thread overview]
Message-ID: <i9u6c4$38g$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTi=ri3VQQ=LSOVAgcpHsckj84e6BMc=UE7n2wSMZ@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22-10-10 22:44, Khem Raj wrote:
> On Fri, Oct 22, 2010 at 10:06 AM, Chris Larson <clarson@kergoth.com> wrote:
>> On Fri, Oct 22, 2010 at 7:56 AM, Koen Kooi <k.kooi@student.utwente.nl>wrote:
>>
>>> Currently kernel.bbclass splits and renames modules into
>>> kernel-module-<foo>, but module.bbclass doesn't. What's your opinion on
>>> making modules.bbclass follow the same logic for consistency?
>>> To make upgrade paths work the 'kernel-modules' metapackage would be
>>> ${PN} for external modules.
>>>
>>
>> This sounds like a very good idea to me, it would make the package list much
>> more consistent and improve the user experience, imo.
> 
> yes I agree fully. Will there be issues with upgrades ?

There shouldn't be with the metapackage approach. What we currently do:

kernel:
'kernel-module-foo' -> have foo.ko
'kernel-modules' -> recommend all internal modules

external module:
'some-external-module' -> have bar.ko and baz.ko

In the new world:

kernel (unchanged):
'kernel-module-foo' -> have foo.ko
'kernel-modules' -> recommend all internal modules

external module:
'kernel-module-bar' -> have bar.ko
'kernel-module-baz' -> have baz.ko
'some-external-module' -> recommend kernel-module-bar kernel-module-baz

So most, if not all, external module recipes will be compatible with the
old naming.

Does that make things clearer?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMwpzEMkyGM64RGpERAlKBAJ0fXK1V+uY4weJj9I/0WGOTzymwBACfQRPq
XBKCNHfqSVFqtwB2dVgazpU=
=UH63
-----END PGP SIGNATURE-----




  reply	other threads:[~2010-10-23  8:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 14:56 [RFC] using kernel.bbclass rename hook for external modules as well Koen Kooi
2010-10-22 17:06 ` Chris Larson
2010-10-22 20:44   ` Khem Raj
2010-10-23  8:28     ` Koen Kooi [this message]
2010-10-23  7:46 ` Frans Meulenbroeks
2010-10-23 13:14   ` Koen Kooi

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='i9u6c4$38g$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox