[oe] Kernel image stagging [was Re: [PATCH] kernel.bbclass: Stage the raw zImage and modules tarball for inclusion in pstage

Otavio Salvador otavio at ossystems.com.br
Tue Feb 23 19:41:33 UTC 2010


Hello,

On Tue, Feb 23, 2010 at 4:23 PM, Tom Rini <tom_rini at mentor.com> wrote:

>  In the second case, why do I want to waste space with an image on the
> rootfs that I don't need?  Today, that image goes from deploy dir to
> <however we give stuff to the end user> or right to the device.  I could
> see, however, adding images to a defined place in meta-toolchain so that
> this isn't an issue anymore and we could stop putting raw kernel stuff
> into the deploy directory.
>

I think that a binary fine, copied from the built package, in deploy dir is
wrong by conception. It ought to be puted there as an image, if it is needed
by an image. We could have a class to make it easy, but IMO it ought to be
done at same time the rootfs is built so it uses the same kernel for modules
(that are included into the rootfs) and the binary.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



More information about the Openembedded-devel mailing list