Kernel upgrade by ipkg

Graeme Gregory graeme at openmoko.org
Thu Jan 10 08:44:46 CET 2008


On Wed, 2008-01-09 at 22:09 -0300, Werner Almesberger wrote:
> Graeme Gregory wrote:
> > This has been a long requested feature and its finally ready to be
> > unleashed on the world.
> 
> One less pleasant feature of this ipkg is that a freshly built rootfs
> image will still execute /usr/lib/ipkg/info/kernel-image-*.postinst
> which then wipes out the hard-coded /dev/mtd2. On GTA01, this is indeed
> the kernel, while it's the u-boot environment in GTA02 ...
> 
> You've already discussed this issue with Andy. I'd suggest to just
> grep /proc/mtd for the right partition, and fail if it's not there.
> That way, we also don't have to worry about getting bitten after any
> future changes we may make to the partition layout.
> 
Your too late, I already added that to OE.

Graeme






More information about the community mailing list