Upgrades and image manifests

Alexander Larsson alexl at redhat.com
Fri Jun 29 11:05:14 EDT 2007


On Fri, 2007-06-29 at 15:49 +0200, Alexander Larsson wrote:
> I've got the code mostly working now, and I managed to update a qemu
> instance of build 406 to the devel build 406 using something like:
> 
> ./updatinator.py -u http://10.x.y.z/updates --get-manifest olpc-ext3 406
> ./updatinator.py -u http://10.x.y.z/updates -i -m manifests/olpc-ext3.406 --download olpc-devel-ext3 406
> ./upgrade-manifest -b blobs/ -d /  manifests/olpc-ext3.406 manifests/olpc-devel-ext3.406
> 
> Where http://10.x.y.z/updates is an apache server with manifests and
> blobs generated with generate-manifests from the -tree OLPC images.
> 
> However, then things failed when I upgraded to olpc-devel-ext3.445, due
> to out of diskspace. I need to look into using gzip of blobs and
> removing blobs once they have been applied (this is harder than it
> sounds because blobs can be used multiple times in one manifest).

I added --delete to upgrade-manifest that does delete-behind (handling
multiple uses of the same hash in one upgrade). So now it should be
possible to do the upgrade using less space. It worked when running on
my local machine, but I haven't tried it in a qemu instance yet.

However, I gotta leave now, and I won't be able to do any OLPC work at
all next week. It would be cool if someone else could play a bit with
this, test it a bit more, get the blobs on a public service, test on a
real XO, etc.




More information about the Devel mailing list