* Kernel modules
@ 2009-05-15 23:22 Chuck Kamas
2009-05-16 7:31 ` Marcin Juszkiewicz
2009-05-16 8:55 ` Koen Kooi
0 siblings, 2 replies; 16+ messages in thread
From: Chuck Kamas @ 2009-05-15 23:22 UTC (permalink / raw)
To: openembedded-devel
Hi all,
I am trying to compile a very small kernel. To do this I have a few
kernel modules I would like in the root file system. But when I load OE
I see that there are no kernel modules in the fs. I found a way to
include them by adding a RDEPENDS line with kernel-module-i2c-core.
This places it in the rootfs. My question is there a better, automatic
way, to have all kernel modules included in the rootfs?
Chuck
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-15 23:22 Kernel modules Chuck Kamas
@ 2009-05-16 7:31 ` Marcin Juszkiewicz
2009-05-16 9:21 ` G. Eismann
2009-05-16 8:55 ` Koen Kooi
1 sibling, 1 reply; 16+ messages in thread
From: Marcin Juszkiewicz @ 2009-05-16 7:31 UTC (permalink / raw)
To: openembedded-devel
Dnia sobota, 16 maja 2009 o 01:22:46 Chuck Kamas napisał(a):
> Hi all,
>
> I am trying to compile a very small kernel. To do this I have a few
> kernel modules I would like in the root file system. But when I load
> OE I see that there are no kernel modules in the fs. I found a way
> to include them by adding a RDEPENDS line with
> kernel-module-i2c-core. This places it in the rootfs. My question is
> there a better, automatic way, to have all kernel modules included in
> the rootfs?
"kernel-modules" package depends on all packages with kernel modules.
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-15 23:22 Kernel modules Chuck Kamas
2009-05-16 7:31 ` Marcin Juszkiewicz
@ 2009-05-16 8:55 ` Koen Kooi
2009-05-16 13:38 ` what not to do in a recipe (was: Kernel modules) Rolf Leggewie
2009-05-17 18:13 ` Kernel modules Chuck Kamas
1 sibling, 2 replies; 16+ messages in thread
From: Koen Kooi @ 2009-05-16 8:55 UTC (permalink / raw)
To: openembedded-devel
On 16-05-09 01:22, Chuck Kamas wrote:
> Hi all,
>
> I am trying to compile a very small kernel. To do this I have a few
> kernel modules I would like in the root file system. But when I load OE
> I see that there are no kernel modules in the fs. I found a way to
> include them by adding a RDEPENDS line with kernel-module-i2c-core.
And it can't be said enough:
NEVER use rdepends to drag in kernelmodules, use rrecommends instead
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-16 7:31 ` Marcin Juszkiewicz
@ 2009-05-16 9:21 ` G. Eismann
2009-05-16 21:38 ` Cliff Brake
0 siblings, 1 reply; 16+ messages in thread
From: G. Eismann @ 2009-05-16 9:21 UTC (permalink / raw)
To: openembedded-devel
On Sábado 16 Mayo 2009 09:31:24 Marcin Juszkiewicz escribió:
> Dnia sobota, 16 maja 2009 o 01:22:46 Chuck Kamas napisał(a):
> > Hi all,
> >
> > I am trying to compile a very small kernel. To do this I have a few
> > kernel modules I would like in the root file system. But when I load
> > OE I see that there are no kernel modules in the fs. I found a way
> > to include them by adding a RDEPENDS line with
> > kernel-module-i2c-core. This places it in the rootfs. My question is
> > there a better, automatic way, to have all kernel modules included in
> > the rootfs?
>
> "kernel-modules" package depends on all packages with kernel modules.
>
BTW, is there any way to install the modules but not the kernel image?
I have the kernel in a separate partition, so I don't need it into the rootfs.
Regards
--
- Eismann -
^ permalink raw reply [flat|nested] 16+ messages in thread
* what not to do in a recipe (was: Kernel modules)
2009-05-16 8:55 ` Koen Kooi
@ 2009-05-16 13:38 ` Rolf Leggewie
2009-05-16 14:01 ` Ihar Hrachyshka
2009-05-16 14:59 ` what not to do in a recipe Koen Kooi
2009-05-17 18:13 ` Kernel modules Chuck Kamas
1 sibling, 2 replies; 16+ messages in thread
From: Rolf Leggewie @ 2009-05-16 13:38 UTC (permalink / raw)
To: openembedded-devel
Koen Kooi wrote:
> And it can't be said enough:
>
> NEVER use rdepends to drag in kernelmodules, use rrecommends instead
Thank you for pointing this out. I was unaware of it and thought it
would be a good idea to document such common mistakes in the wiki.
http://wiki.openembedded.net/index.php/Common_mistakes_in_a_recipe
Please add any other FMM (frequently made mistake). To keep the list
readable, let's focus on mistakes that lead to serious problems.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: what not to do in a recipe (was: Kernel modules)
2009-05-16 13:38 ` what not to do in a recipe (was: Kernel modules) Rolf Leggewie
@ 2009-05-16 14:01 ` Ihar Hrachyshka
2009-05-16 14:59 ` what not to do in a recipe Koen Kooi
1 sibling, 0 replies; 16+ messages in thread
From: Ihar Hrachyshka @ 2009-05-16 14:01 UTC (permalink / raw)
To: openembedded-devel
On Sat, May 16, 2009 at 4:38 PM, Rolf Leggewie
<no2spam@nospam.arcornews.de> wrote:
> Koen Kooi wrote:
>>
>> And it can't be said enough:
>>
>> NEVER use rdepends to drag in kernelmodules, use rrecommends instead
>
> Thank you for pointing this out. I was unaware of it and thought it would
> be a good idea to document such common mistakes in the wiki.
>
> http://wiki.openembedded.net/index.php/Common_mistakes_in_a_recipe
>
> Please add any other FMM (frequently made mistake). To keep the list
> readable, let's focus on mistakes that lead to serious problems.
Maybe some code snippets will be good - for every mistake.
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: what not to do in a recipe
2009-05-16 13:38 ` what not to do in a recipe (was: Kernel modules) Rolf Leggewie
2009-05-16 14:01 ` Ihar Hrachyshka
@ 2009-05-16 14:59 ` Koen Kooi
1 sibling, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2009-05-16 14:59 UTC (permalink / raw)
To: openembedded-devel
On 16-05-09 15:38, Rolf Leggewie wrote:
> Koen Kooi wrote:
>> And it can't be said enough:
>>
>> NEVER use rdepends to drag in kernelmodules, use rrecommends instead
>
> Thank you for pointing this out. I was unaware of it and thought it
> would be a good idea to document such common mistakes in the wiki.
>
> http://wiki.openembedded.net/index.php/Common_mistakes_in_a_recipe
>
> Please add any other FMM (frequently made mistake). To keep the list
> readable, let's focus on mistakes that lead to serious problems.
Thanks!
regards,
Koen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-16 9:21 ` G. Eismann
@ 2009-05-16 21:38 ` Cliff Brake
2009-05-16 21:50 ` G. Eismann
2009-05-17 7:24 ` Koen Kooi
0 siblings, 2 replies; 16+ messages in thread
From: Cliff Brake @ 2009-05-16 21:38 UTC (permalink / raw)
To: openembedded-devel
On Sat, May 16, 2009 at 5:21 AM, G. Eismann <g.eismann@gmx.net> wrote:
> BTW, is there any way to install the modules but not the kernel image?
> I have the kernel in a separate partition, so I don't need it into the rootfs.
One way is to put the following in the kernel recipe:
FILES_kernel-image_<machine_name> = ""
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-16 21:38 ` Cliff Brake
@ 2009-05-16 21:50 ` G. Eismann
2009-05-17 7:24 ` Koen Kooi
1 sibling, 0 replies; 16+ messages in thread
From: G. Eismann @ 2009-05-16 21:50 UTC (permalink / raw)
To: openembedded-devel
On Sábado 16 Mayo 2009 23:38:20 Cliff Brake escribió:
> On Sat, May 16, 2009 at 5:21 AM, G. Eismann <g.eismann@gmx.net> wrote:
> > BTW, is there any way to install the modules but not the kernel image?
> > I have the kernel in a separate partition, so I don't need it into the
> > rootfs.
>
> One way is to put the following in the kernel recipe:
>
> FILES_kernel-image_<machine_name> = ""
Thanks for the response. I'll try it.
--
- Eismann -
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-16 21:38 ` Cliff Brake
2009-05-16 21:50 ` G. Eismann
@ 2009-05-17 7:24 ` Koen Kooi
2009-05-17 7:58 ` Ihar Hrachyshka
2009-05-17 18:24 ` Tom Rini
1 sibling, 2 replies; 16+ messages in thread
From: Koen Kooi @ 2009-05-17 7:24 UTC (permalink / raw)
To: openembedded-devel
On 16-05-09 23:38, Cliff Brake wrote:
> On Sat, May 16, 2009 at 5:21 AM, G. Eismann<g.eismann@gmx.net> wrote:
>
>> BTW, is there any way to install the modules but not the kernel image?
>> I have the kernel in a separate partition, so I don't need it into the rootfs.
>
> One way is to put the following in the kernel recipe:
>
> FILES_kernel-image_<machine_name> = ""
Please don't do that, it breaks all sorts of things, one of which is
field upgrades.
regards,
Koen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-17 7:24 ` Koen Kooi
@ 2009-05-17 7:58 ` Ihar Hrachyshka
2009-05-17 8:16 ` Graeme Gregory
2009-05-17 18:24 ` Tom Rini
1 sibling, 1 reply; 16+ messages in thread
From: Ihar Hrachyshka @ 2009-05-17 7:58 UTC (permalink / raw)
To: openembedded-devel
On Sun, May 17, 2009 at 10:24 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 16-05-09 23:38, Cliff Brake wrote:
>>
>> On Sat, May 16, 2009 at 5:21 AM, G. Eismann<g.eismann@gmx.net> wrote:
>>
>>> BTW, is there any way to install the modules but not the kernel image?
>>> I have the kernel in a separate partition, so I don't need it into the
>>> rootfs.
>>
>> One way is to put the following in the kernel recipe:
>>
>> FILES_kernel-image_<machine_name> = ""
>
> Please don't do that, it breaks all sorts of things, one of which is field
> upgrades.
Your suggestion?
>
> regards,
>
> Koen
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-17 7:58 ` Ihar Hrachyshka
@ 2009-05-17 8:16 ` Graeme Gregory
0 siblings, 0 replies; 16+ messages in thread
From: Graeme Gregory @ 2009-05-17 8:16 UTC (permalink / raw)
To: openembedded-devel
Ihar Hrachyshka wrote:
> On Sun, May 17, 2009 at 10:24 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
>
>> On 16-05-09 23:38, Cliff Brake wrote:
>>
>>> On Sat, May 16, 2009 at 5:21 AM, G. Eismann<g.eismann@gmx.net> wrote:
>>>
>>>
>>>> BTW, is there any way to install the modules but not the kernel image?
>>>> I have the kernel in a separate partition, so I don't need it into the
>>>> rootfs.
>>>>
>>> One way is to put the following in the kernel recipe:
>>>
>>> FILES_kernel-image_<machine_name> = ""
>>>
>> Please don't do that, it breaks all sorts of things, one of which is field
>> upgrades.
>>
>
> Your suggestion?
>
>
As nothing depends on kernel-image other than kernel I would suggest
breaking this dependency. Then if you want the image of the kernel on
your rootfs you can explicitly depend on kernel-image in a task.
Graeme
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-16 8:55 ` Koen Kooi
2009-05-16 13:38 ` what not to do in a recipe (was: Kernel modules) Rolf Leggewie
@ 2009-05-17 18:13 ` Chuck Kamas
2009-05-17 18:26 ` Koen Kooi
1 sibling, 1 reply; 16+ messages in thread
From: Chuck Kamas @ 2009-05-17 18:13 UTC (permalink / raw)
To: openembedded-devel, openembedded-devel
Thanks, I add a rrecommends for each kernel module I have in my .config.
BTW, is there a way to have OE scan the kernel .config and automatically pull in all the kernel modules?
Chuck
________________________________
From: openembedded-devel-bounces@lists.openembedded.org on behalf of Koen Kooi
Sent: Sat 5/16/2009 1:55 AM
To: openembedded-devel@openembedded.org
Subject: Re: [oe] Kernel modules
On 16-05-09 01:22, Chuck Kamas wrote:
> Hi all,
>
> I am trying to compile a very small kernel. To do this I have a few
> kernel modules I would like in the root file system. But when I load OE
> I see that there are no kernel modules in the fs. I found a way to
> include them by adding a RDEPENDS line with kernel-module-i2c-core.
And it can't be said enough:
NEVER use rdepends to drag in kernelmodules, use rrecommends instead
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-17 7:24 ` Koen Kooi
2009-05-17 7:58 ` Ihar Hrachyshka
@ 2009-05-17 18:24 ` Tom Rini
1 sibling, 0 replies; 16+ messages in thread
From: Tom Rini @ 2009-05-17 18:24 UTC (permalink / raw)
To: openembedded-devel
On Sun, May 17, 2009 at 09:24:51AM +0200, Koen Kooi wrote:
> On 16-05-09 23:38, Cliff Brake wrote:
>> On Sat, May 16, 2009 at 5:21 AM, G. Eismann<g.eismann@gmx.net> wrote:
>>
>>> BTW, is there any way to install the modules but not the kernel image?
>>> I have the kernel in a separate partition, so I don't need it into the rootfs.
>>
>> One way is to put the following in the kernel recipe:
>>
>> FILES_kernel-image_<machine_name> = ""
>
> Please don't do that, it breaks all sorts of things, one of which is
> field upgrades.
If and only if it's what your distro wants, of course.
--
Tom Rini
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-17 18:13 ` Kernel modules Chuck Kamas
@ 2009-05-17 18:26 ` Koen Kooi
2009-05-18 23:23 ` Chuck Kamas
0 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2009-05-17 18:26 UTC (permalink / raw)
To: openembedded-devel
On 17-05-09 20:13, Chuck Kamas wrote:
> Thanks, I add a rrecommends for each kernel module I have in my .config.
>
> BTW, is there a way to have OE scan the kernel .config and automatically pull in all the kernel modules?
RRECOMMENDS = "kernel-modules"
regards,
Koen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Kernel modules
2009-05-17 18:26 ` Koen Kooi
@ 2009-05-18 23:23 ` Chuck Kamas
0 siblings, 0 replies; 16+ messages in thread
From: Chuck Kamas @ 2009-05-18 23:23 UTC (permalink / raw)
To: openembedded-devel
Koen,
Thanks, I'll give that a try.
Chuck
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org
[mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
Koen Kooi
Sent: Sunday, May 17, 2009 11:27 AM
To: openembedded-devel@openembedded.org
Subject: Re: [oe] Kernel modules
On 17-05-09 20:13, Chuck Kamas wrote:
> Thanks, I add a rrecommends for each kernel module I have in my
.config.
>
> BTW, is there a way to have OE scan the kernel .config and
automatically pull in all the kernel modules?
RRECOMMENDS = "kernel-modules"
regards,
Koen
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-05-18 23:31 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 23:22 Kernel modules Chuck Kamas
2009-05-16 7:31 ` Marcin Juszkiewicz
2009-05-16 9:21 ` G. Eismann
2009-05-16 21:38 ` Cliff Brake
2009-05-16 21:50 ` G. Eismann
2009-05-17 7:24 ` Koen Kooi
2009-05-17 7:58 ` Ihar Hrachyshka
2009-05-17 8:16 ` Graeme Gregory
2009-05-17 18:24 ` Tom Rini
2009-05-16 8:55 ` Koen Kooi
2009-05-16 13:38 ` what not to do in a recipe (was: Kernel modules) Rolf Leggewie
2009-05-16 14:01 ` Ihar Hrachyshka
2009-05-16 14:59 ` what not to do in a recipe Koen Kooi
2009-05-17 18:13 ` Kernel modules Chuck Kamas
2009-05-17 18:26 ` Koen Kooi
2009-05-18 23:23 ` Chuck Kamas
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.