Re: Upgrades and image manifests

2007-07-02 Thread Dan Williams
On Fri, 2007-06-29 at 12:26 -0400, C. Scott Ananian wrote: Please read Ivan's update proposal. He addresses many of the peripheral issues that have arisen, re user notification, etc. At this point, as far as I'm concerned, the only open question is how we get a filesystem image onto the

Re: Upgrades and image manifests

2007-06-29 Thread Dan Williams
On Tue, 2007-06-19 at 14:39 +0200, Alexander Larsson wrote: Hi, My name is Alexander Larsson, and I just started working on the field upgrade system of the olpc laptops. I have some ideas I'd like to explain and get feedback on. The olpc uses a full-image system, as opposed to the

Re: Upgrades and image manifests

2007-06-29 Thread Alexander Larsson
On Fri, 2007-06-29 at 08:22 -0400, Dan Williams wrote: Two questions here: 1) what does the scheme do in the case where the file it's about to replace on the local machine isn't the same as what the manifest on the local machine says? ie, local changes have changed the sha1 hash of the

Re: Upgrades and image manifests

2007-06-29 Thread Dan Williams
On Fri, 2007-06-29 at 14:21 +0200, Alexander Larsson wrote: On Fri, 2007-06-29 at 08:22 -0400, Dan Williams wrote: Two questions here: 1) what does the scheme do in the case where the file it's about to replace on the local machine isn't the same as what the manifest on the local

Re: Upgrades and image manifests

2007-06-29 Thread Dan Williams
On Tue, 2007-06-19 at 14:39 +0200, Alexander Larsson wrote: Hi, My name is Alexander Larsson, and I just started working on the field upgrade system of the olpc laptops. I have some ideas I'd like to explain and get feedback on. The olpc uses a full-image system, as opposed to the

Re: Upgrades and image manifests

2007-06-29 Thread Dan Williams
On Tue, 2007-06-19 at 14:39 +0200, Alexander Larsson wrote: Hi, My name is Alexander Larsson, and I just started working on the field upgrade system of the olpc laptops. I have some ideas I'd like to explain and get feedback on. One more thing :) I'm sure you know, but something people

Re: Upgrades and image manifests

2007-06-29 Thread Alexander Larsson
On Fri, 2007-06-29 at 10:21 -0400, Dan Williams wrote: On Tue, 2007-06-19 at 14:39 +0200, Alexander Larsson wrote: The update daemon must provide a fair amount read-only status information before and during the update process to allow the GUI bits the flexibility to present that information to

Re: Upgrades and image manifests

2007-06-29 Thread Alexander Larsson
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

Re: Upgrades and image manifests

2007-06-29 Thread C. Scott Ananian
Please read Ivan's update proposal. He addresses many of the peripheral issues that have arisen, re user notification, etc. At this point, as far as I'm concerned, the only open question is how we get a filesystem image onto the laptop once we know which one to get. Ivan suggests rsync; I

Re: Upgrades and image manifests

2007-06-25 Thread Christopher Blizzard
On Mon, 2007-06-25 at 15:45 +0100, David Woodhouse wrote: On Tue, 2007-06-19 at 14:39 +0200, Alexander Larsson wrote: Does OLPC use selinux or xattrs? Because if so we have to extend the manifest format. Not yet, but it's likely to in the near future when we ditch the short-term hacks and

Upgrades and image manifests

2007-06-19 Thread Alexander Larsson
Hi, My name is Alexander Larsson, and I just started working on the field upgrade system of the olpc laptops. I have some ideas I'd like to explain and get feedback on. The olpc uses a full-image system, as opposed to the per-package versioning scheme of deb or rpms. So, an upgrade consists of