On Tue, 2010-02-23 at 15:55 -0300, Otavio Salvador wrote:
> Hello Chris and others,
> 
> Your patch looks fine however this has made me thing another issue.
> 
> For me, it looks like the image ought to have be grabed from the package, at
> image building time, not at kernel package building time.
> 
> This solves a problem when we remove the image deploy dir and then need to
> rebuild the kernel package to get the image there again.
> 
> Do you think it makes sense?

I should note that Chris didn't notice that I had already just pushed
this upstream.  And this neatly dovetails into a conversation I was
having with Chris anyhow (about another change we have that doesn't make
sense anymore).  There's two cases for how the kernel image is used:
- On the target, ${feed install} kernel-image, write to flash, whatever.
- On the host, user loads image to target, writes to flash in
bootloader.

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.

-- 
Tom Rini <[email protected]>
Mentor Graphics Corporation

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to