All of lore.kernel.org
 help / color / mirror / Atom feed
From: "S. Lockwood-Childs" <sjl@vctlabs.com>
To: "Muhlenkamp, Lewis" <lewis.muhlenkamp@stryker.com>
Cc: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Re: Kernel modules being built, but not being included in image
Date: Fri, 11 Jan 2019 19:14:42 -0800	[thread overview]
Message-ID: <20190112031442.GW23540@vctlabs.com> (raw)
In-Reply-To: <DM6PR01MB4636DE2DFD81ED5926A24F9F8F840@DM6PR01MB4636.prod.exchangelabs.com>

On Thu, Jan 10, 2019 at 04:49:36PM +0000, Muhlenkamp, Lewis wrote:
> Hello,
> 
> TLDR: How do I get docker fully functional in my openembedded linux image?
> 
> I've been trying to get docker included into my image.  All of my attempts lead to the same error messages appearing in the log file, and docker not starting.
> 
...
> 
> 
> That didn't seem to work either.  The modules always got built.  For example, br_netfilter.ko is built:
> 
...
> 
> But these modules are not included in my image.  
> For example, if I do "find / -name br_netfilter.ko" on my target install, nothing is returned.

Kernel modules are not installed into an image by default; this gives
the opportunity to choose on a per-image basis which modules are actually needed.
Then the same kernel can be used on both a tiny rescue image and a full 
production image. Each image recipe gets to list which modules it actually wants.

The core image recipe is a general one and meant to be lean, so it makes sense for 
this image to not include any modules in its package list. You can either inherit
from it for a custom recipe or use CORE_IMAGE_EXTRA_INSTALL as you have been doing.

If you don't feel like choosing each module, quick fix is to add "kernel-modules" 
to your CORE_IMAGE_EXTRA_INSTALL to ask for all that got built by your kernel config.

--SJLC


  reply	other threads:[~2019-01-12  3:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 16:49 Kernel modules being built, but not being included in image Muhlenkamp, Lewis
2019-01-12  3:14 ` S. Lockwood-Childs [this message]
2019-01-14 21:56 ` Mark Asselstine
2019-01-15 18:26   ` Muhlenkamp, Lewis
2019-01-15 22:57     ` Mark Asselstine
2019-01-16  2:54       ` Mark Asselstine
2019-01-16 13:39         ` Muhlenkamp, Lewis
2019-01-16 15:19           ` Mark Asselstine
2019-01-16 20:06             ` Muhlenkamp, Lewis
2019-01-17 14:21               ` Mark Asselstine

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=20190112031442.GW23540@vctlabs.com \
    --to=sjl@vctlabs.com \
    --cc=lewis.muhlenkamp@stryker.com \
    --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 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.