[OE-core] Packaging kernel sources

Koen Kooi koen at dominion.thruhere.net
Wed Sep 10 02:18:58 UTC 2014


Op 9 sep. 2014, om 17:42 heeft Darren Hart <dvhart at linux.intel.com> het volgende geschreven:

> 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?

I think I put it in linux.inc in meta-beagleboard, but it's been a few years since I looked at it. I'll have a look at it when I get back from vacation next week. Greetings from Pismo Beach :)


More information about the Openembedded-core mailing list