[oe] RFC: customisable pivot-root functionality

Cliff Brake cliff.brake at gmail.com
Thu Jan 25 12:45:08 UTC 2007


On 1/24/07, Rod Whitby <rod at whitby.id.au> wrote:
> As part of the "remove all slugos-specific stuff from OE, and make it
> generally useful and available to multiple distributions" effort, I need
> to replicate the current slugos-init pivot-root functionality, and I
> want to do it in a way which might be useful for other OE platforms (or
> at least is not tied to one specific NSLU2 distribution).  At a minimum,
> I want to use it for a derivative of Angstrom, which I'm calling
> "MokoSlug" and possible retro-fit it into the Unslung firmware too.
...

> 2) Would this functionality be of use to any other devices that use OE?

Yes.

> 3) Who else is interested in giving input to, and reviewing the output
> of, this effort?

Yes, I'm currently working on two projects that will required the
ability to do field updates -- (stick a USB stick in the device and it
updates itself).  I'm currently planning to have a small RO update
image (which never gets updated) that is smart enough to update the
main rootfs and then pivot-root to it.  It would be nice if this could
be made somewhat general as it is probably a fairly common
requirement.  Another reason for the RO update image is to be able to
easily recover if the main image gets corrupted.  I'm not sure if
there is anything in common with your slug work, but It would be nice
to have a general framework available to do the pivot-root stuff.

Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com




More information about the Openembedded-devel mailing list