sugar-update: your friendly neighborhood auto-installation script

Eben Eliason eben.eliason at
Wed Aug 29 20:50:18 EDT 2007

Sorry to keep spamming your inboxes - I keep finding new goodies to
add, and I'm looking for a little more feedback.

This time I've added a -o option which will remove an existing boot
directory and create a clean auto-installation image from scratch.
This would be useful if the file changes in the future.

Semantic question:  -o overwrite, or -c clean?

Also, I find myself using the -v verbose flag all the time.  Would
people using this script prefer -q quiet instead, with progress output
printed by default?

Finally, with recent support for downgrading, would it be a good idea
to change the -f flag to specify a specific firmware version?  Right
now it always grabs the latest.  We could come up with another flag
for skipping firmware update, or we could simply omit that capability
altogether, but I don't even know if downgrading firmware is ever a
good idea.


- Eben

On 8/29/07, Eben Eliason <eben.eliason at> wrote:
> I just noticed the force.os downgrade option as described on the wiki,
> so I added support for downgrades to the script.  If the boot
> directory already contains a newer build than the one specified, the
> force.os file will be created automatically.  Naturally, it's also
> smart enough to remove a force.os file if present and the build
> specified is newer than that present in boot. I also added the -d
> option which will force a downgrade image regardless of build number.
> - Eben
> On 8/29/07, Eben Eliason <eben.eliason at> wrote:
> > On 8/29/07, Chris Ball <cjb at> wrote:
> > > Hi Eben,
> > >
> > >    > - Support for updating to latest firmware
> > >
> > > Just a vote for making that firmware update happen by default --
> > > recently the firmware version has been fairly tightly bound to
> > > the OS image version, so upgrading OS without upgrading firmware
> > > is often a mistake.
> >
> > Good idea.  I've flipped the meaning of the flag in the script at my
> > end, and changed the documentation in the wiki to match.
> >
> > - Eben
> >
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Type: text/x-python-script
Size: 8905 bytes
Desc: not available
URL: <>

More information about the Devel mailing list