From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lo.gmane.org ([80.91.229.12]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1P9ZU0-00039p-EN for openembedded-devel@lists.openembedded.org; Sat, 23 Oct 2010 10:29:47 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P9ZTL-0003tR-IA for openembedded-devel@lists.openembedded.org; Sat, 23 Oct 2010 10:29:03 +0200 Received: from ip545070eb.adsl-surfen.hetnet.nl ([84.80.112.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Oct 2010 10:29:03 +0200 Received: from k.kooi by ip545070eb.adsl-surfen.hetnet.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Oct 2010 10:29:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org From: Koen Kooi Date: Sat, 23 Oct 2010 10:28:52 +0200 Message-ID: References: Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ip545070eb.adsl-surfen.hetnet.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.14) Gecko/20101002 Shredder/3.0.9pre In-Reply-To: X-Enigmail-Version: 1.0.1 X-SA-Exim-Connect-IP: 80.91.229.12 X-SA-Exim-Mail-From: gcho-openembedded-devel@m.gmane.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [RFC] using kernel.bbclass rename hook for external modules as well X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2010 08:29:47 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----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 wrote: >> On Fri, Oct 22, 2010 at 7:56 AM, Koen Kooi wrote: >> >>> Currently kernel.bbclass splits and renames modules into >>> kernel-module-, 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-----