sugar-update: your friendly neighborhood auto-installation script

Eben Eliason eben.eliason at gmail.com
Wed Aug 29 18:47:11 EDT 2007


Alrighty, here's a new version of the script.  The key changes over
the first version are:

- Support for updating to latest firmware
- Automatic creation of boot directory and needed files

One side effect of the new automatic creation of the boot directory is
that the script now wants the path in which that directory will live
(the path to the flash drive), and not the boot directory itself.
However, I also added a little check which makes it behave logically
if the boot directory path is specified by accident.

Please refer to the wiki for documentation, and please do test it out
so that we can eliminate any bugs I may have missed.  I still haven't
managed to upload the actual script to the wiki as either .py, .zip,
or .txt.  Does someone else want to give it a shot and see if it's me
or the wiki?

http://wiki.laptop.org/go/Autoreinstallation_image#Preparing_the_latest_image_.28automatically.29

- Eben


On 8/29/07, Eben Eliason <eben.eliason at gmail.com> wrote:
> Indeed, I just looked up the module for managing zip files a few hours
> ago.  I've also since updated the script to have a -f flag for
> updating to the latest firmware, but it's not available yet.  The
> latest version will be on the wiki soon (I'm having upload troubles);
> a section of the autoreinstallation page is already setup with
> details.
>
> - Eben
>
>
> On 8/29/07, Chris Ball <cjb at laptop.org> wrote:
> > Hi Eben,
> >
> >    > I got really tired of the monotony that I go through daily to put
> >    > a new build on my USB drive.  The attached script is my moderately
> >    > robust solution to the problem, and I thought that others might
> >    > care to take it for a spin as well.  Here's the usage (you can
> >    > also view usage with -h or --help):
> >
> > Just tried this out.  Thanks!  One comment -- I thought this would
> > create an autoreinstallation directory, but it doesn't download the
> > olpc.fth/firmware that's necessary to boot a USB disk; it just downloads
> > the OS image, and requires that you have already an up-to-date olpc.fth.
> >
> > It shouldn't be difficult to do a git clone of the olpc-auto.zip and
> > unzip that into place too.  I think that'd be really useful.
> >
> > - Chris.
> > --
> > Chris Ball   <cjb at laptop.org>
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sugar-update.py
Type: text/x-python-script
Size: 7804 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20070829/9743d64f/attachment.bin>


More information about the Devel mailing list