[oe] using initramfs with openembedded.

Graeme Gregory dp at xora.org.uk
Tue Feb 23 09:19:54 UTC 2010


On Tue, Feb 23, 2010 at 10:03:51AM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 22-02-10 23:29, C Michael Sundius wrote:
> > We'd like to put our initial boottime file system into the initramfs in the
> > kernel. But we also need to build some separate drivers to put into that
> > filesystem image.
> > 
> > Of course we can't build those drivers without the kernel staging dir
> > populated. (which doesn't happen until after the build of the kernel).
> > 
> > Has anyone run into this problem? how did you solve it? do I need to stage
> > the headerfiles and config info before the kernel build?
> > 
> > maybe this problem is solved some other way.. I haven't really tried this so
> > I'm just speculating here.
> > 
> > If anyone has some experience with this it would be great to hear how to go
> > about this. thanks for you help
> 
> The common way right now is to use 2 kernel recipes. Not an optimal
> situation, but it will get you there.
> 

I think it should be possible to write an initramfs.bbclass and use
BBCLASSEXTEND to make it simpler.

Graeme





More information about the Openembedded-devel mailing list