* How do I get the kernel modules into rootfs?
@ 2013-05-28 12:18 Sebastian Süsens
2013-05-28 13:03 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Süsens @ 2013-05-28 12:18 UTC (permalink / raw)
To: yocto
Hello,
I have build the system with MACHINE_EXTRA_RRECOMMENDS += "
kernel-modules" at the machine configuration.
When I look into the rootfs.tar archive I see no modules installed in /lib/modules.
I get only a modules.tar archive at the deploy folder.
How do I get the modules into the rootfs?
--
------------------------------------------------------------------------
Sebastian Süsens Tel. +49 4321 559 56-27
mycable GmbH Fax +49 4321 559 56-10
Gartenstrasse 10
24534 Neumuenster, Germany Email su@mycable.de
------------------------------------------------------------------------
mycable GmbH, Managing Director: Michael Carstens-Behrens
USt-IdNr: DE 214 231 199, Amtsgericht Kiel, HRB 1797 NM
------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this e-mail in error,
please notify the sender and delete all copies from your system.
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do I get the kernel modules into rootfs?
2013-05-28 12:18 How do I get the kernel modules into rootfs? Sebastian Süsens
@ 2013-05-28 13:03 ` Paul Eggleton
2013-05-28 14:02 ` Katu Txakur
[not found] ` <51A4B7DE.6010702@mycable.de>
0 siblings, 2 replies; 4+ messages in thread
From: Paul Eggleton @ 2013-05-28 13:03 UTC (permalink / raw)
To: Sebastian Süsens; +Cc: yocto
On Tuesday 28 May 2013 14:18:53 Sebastian Süsens wrote:
> I have build the system with MACHINE_EXTRA_RRECOMMENDS += "
> kernel-modules" at the machine configuration.
> When I look into the rootfs.tar archive I see no modules installed in
> /lib/modules. I get only a modules.tar archive at the deploy folder.
>
> How do I get the modules into the rootfs?
This will only work if your image includes packagegroup-base, as noted
in the glossary entry for this variable:
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-MACHINE_EXTRA_RRECOMMENDS
Presumably the image you are building does not include packagegroup-base
(or more specifically, packagegroup-machine-base)?
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: How do I get the kernel modules into rootfs?
2013-05-28 13:03 ` Paul Eggleton
@ 2013-05-28 14:02 ` Katu Txakur
[not found] ` <51A4B7DE.6010702@mycable.de>
1 sibling, 0 replies; 4+ messages in thread
From: Katu Txakur @ 2013-05-28 14:02 UTC (permalink / raw)
Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
Hi Sebastian,
if you read this
https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf
you might find a solution for your problem. Check lab 3.
Thanks,
Katu
2013/5/28 Paul Eggleton <paul.eggleton@linux.intel.com>
> On Tuesday 28 May 2013 14:18:53 Sebastian Süsens wrote:
> > I have build the system with MACHINE_EXTRA_RRECOMMENDS += "
> > kernel-modules" at the machine configuration.
> > When I look into the rootfs.tar archive I see no modules installed in
> > /lib/modules. I get only a modules.tar archive at the deploy folder.
> >
> > How do I get the modules into the rootfs?
>
> This will only work if your image includes packagegroup-base, as noted
> in the glossary entry for this variable:
>
>
> http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-MACHINE_EXTRA_RRECOMMENDS
>
> Presumably the image you are building does not include packagegroup-base
> (or more specifically, packagegroup-machine-base)?
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 2169 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <51A4B7DE.6010702@mycable.de>]
* Re: How do I get the kernel modules into rootfs?
[not found] ` <51A4B7DE.6010702@mycable.de>
@ 2013-05-28 14:10 ` Paul Eggleton
0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2013-05-28 14:10 UTC (permalink / raw)
To: Sebastian Süsens; +Cc: yocto
On Tuesday 28 May 2013 15:57:50 Sebastian Süsens wrote:
> On 05/28/2013 03:03 PM, Paul Eggleton wrote:
> > On Tuesday 28 May 2013 14:18:53 Sebastian Süsens wrote:
> >> I have build the system with MACHINE_EXTRA_RRECOMMENDS += "
> >> kernel-modules" at the machine configuration.
> >> When I look into the rootfs.tar archive I see no modules installed in
> >> /lib/modules. I get only a modules.tar archive at the deploy folder.
> >>
> >> How do I get the modules into the rootfs?
> >
> > This will only work if your image includes packagegroup-base, as noted
> > in the glossary entry for this variable:
> >
> > http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-MA
> > CHINE_EXTRA_RRECOMMENDS
> >
> > Presumably the image you are building does not include packagegroup-base
> > (or more specifically, packagegroup-machine-base)?
>
> now I build the system with packagegroup-base and it works.
> Can I build the rootfs which include modules without the packagegroup-base?
kernel-modules is just a package, so you can include it in IMAGE_INSTALL just
like any other package name (although this may not be the most appropriate
solution).
Alternatively, if you have a list of kernel modules that are required for
booting you can have them installed in any image that uses packagegroup-core-
boot by adding them to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS.
Cheers,
Paul
PS please keep replies CC'd to the mailing list, thanks.
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-28 14:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 12:18 How do I get the kernel modules into rootfs? Sebastian Süsens
2013-05-28 13:03 ` Paul Eggleton
2013-05-28 14:02 ` Katu Txakur
[not found] ` <51A4B7DE.6010702@mycable.de>
2013-05-28 14:10 ` Paul Eggleton
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.