[OE-core] Packaging kernel sources

Darren Hart dvhart at linux.intel.com
Wed Sep 10 00:42:16 UTC 2014


Hi all,

I'm working on a project which needs to have the full kernel sources
installed on the target. The kernel-dev package as defined by
kernel.bbclass is heavily pruned to minimize packaging time and size and
is intended to enable building of external modules on the target.

Is there an accepted best-practice for how to get the full source packaged
and installed? I can easily write a new recipe,
linux-custom-source_git.bb, to install the sources, for example, without
impacting the packaging time of "virtual/kernel" package.

It would be nice in some respects for it to all come from the same recipe
though, but I suspect the impact to the common-case where this is not need
would be far too great.

Koen, I believe you had a solution for this with Angstrom?

-- 
Darren Hart
Intel Open Source Technology Center







More information about the Openembedded-core mailing list