All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: "Sebastian Süsens" <su@mycable.de>
Cc: yocto@yoctoproject.org
Subject: Re: How do I get the kernel modules into rootfs?
Date: Tue, 28 May 2013 15:10:48 +0100	[thread overview]
Message-ID: <1776847.BtD7W1b5CJ@helios> (raw)
In-Reply-To: <51A4B7DE.6010702@mycable.de>

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


      parent reply	other threads:[~2013-05-28 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=1776847.BtD7W1b5CJ@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=su@mycable.de \
    --cc=yocto@yoctoproject.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.