Re: [Sugar-devel] erasing the journal and config

2009-08-27 Thread David Farning
On Thu, Aug 27, 2009 at 11:43 AM, Sameer Verma wrote: > On Thu, Aug 27, 2009 at 8:17 AM, Daniel Drake wrote: >> 2009/8/27 Sameer Verma : >>> I posed this question on OLPC Support Gang earlier and got responses >>> that its not possible to do so under bitfrost and rainbow. >>> >>> ==

Re: [Sugar-devel] erasing the journal and config

2009-08-27 Thread Edward Cherlin
On Thu, Aug 27, 2009 at 8:17 AM, Daniel Drake wrote: > 2009/8/27 Sameer Verma : >> We have a lending library at SFSU, ready to go, but we need to have a >> way to erase the config and journal every time the XO comes back from >> a borrower. > In my opinion, this is silly. Teach them how to run a s

Making leases and devkeys from a CSV file - now in olpc-bios-crypto

2009-08-27 Thread Martin Langhoff
I've just written 2 convenient scripts that wrap around obc-make-lease and obc-make-devkey. These allow you to create a CSV file of the XOs, containing the SN and UUID, and then generate leases or devkeys for those XOs. To use: - On an XS: yum --enablerepo=olpcxs-testing install olpc-bios-cryp

Re: XO automatic clock setting

2009-08-27 Thread Martin Langhoff
On Thu, Aug 27, 2009 at 6:36 PM, Daniel Drake wrote: >> Why do both OFW and initramfs check the same thing? > > They don't, at the moment. The initramfs trusts whatever OFW said, > without checking. Touché - > But Michael's explanation is quite convincing. According to that > understanding, it wo

Re: [Sugar-devel] erasing the journal and config

2009-08-27 Thread Sameer Verma
On Thu, Aug 27, 2009 at 8:17 AM, Daniel Drake wrote: > 2009/8/27 Sameer Verma : >> I posed this question on OLPC Support Gang earlier and got responses >> that its not possible to do so under bitfrost and rainbow. >> >> === >> "Hello everybody, >> >> We have a lending library at SFS

Re: XO automatic clock setting

2009-08-27 Thread Daniel Drake
2009/8/27 Martin Langhoff : > On Thu, Aug 27, 2009 at 4:05 PM, Daniel Drake wrote: >>> This is a good thing if we assume that the initramfs can evolve faster >>> than OFW,  and the case "OFW doesn't recognise this sig format but >>> Initramfs does" is a valid one. >> >> Except, unless I missed some

Re: XO automatic clock setting

2009-08-27 Thread Martin Langhoff
On Thu, Aug 27, 2009 at 4:05 PM, Daniel Drake wrote: >> This is a good thing if we assume that the initramfs can evolve faster >> than OFW,  and the case "OFW doesn't recognise this sig format but >> Initramfs does" is a valid one. > > Except, unless I missed something in the last discussion, we do

Re: [Sugar-devel] erasing the journal and config

2009-08-27 Thread Michael Stone
> Luke Faraone wrote: > James Cameron wrote: > >> I've tested this method only on unlocked laptops. For locked laptops >> some similar method might be used. > > For locked laptops you would *need* to get a developer key, or have OLPC > sign the file. The latter won't happen. OFW's recently-added

Re: [Sugar-devel] erasing the journal and config

2009-08-27 Thread Daniel Drake
2009/8/27 Sameer Verma : > I posed this question on OLPC Support Gang earlier and got responses > that its not possible to do so under bitfrost and rainbow. > > === > "Hello everybody, > > We have a lending library at SFSU, ready to go, but we need to have a > way to erase the confi

Re: [Sugar-devel] erasing the journal and config

2009-08-27 Thread Luke Faraone
On Thu, Aug 27, 2009 at 04:52, James Cameron wrote: > I've tested this method only on unlocked laptops. For locked laptops > some similar method might be used. For locked laptops you would *need* to get a developer key, or have OLPC sign the file. The latter won't happen. -- Luke Faraone htt

Re: XO automatic clock setting

2009-08-27 Thread Michael Stone
>2009/8/27 Martin Langhoff : >>> 4. sig02 leases are still unsupported in the latest OpenFirmware, but >>> it looks like we have renewed interest in getting this finished off, >>> so no initramfs changes will be needed in this area. >> >> Here Daniel skips the fact that there is a homely but IMO va

Re: XO automatic clock setting

2009-08-27 Thread Daniel Drake
2009/8/27 Martin Langhoff : >> 4. sig02 leases are still unsupported in the latest OpenFirmware, but >> it looks like we have renewed interest in getting this finished off, >> so no initramfs changes will be needed in this area. > > Here Daniel skips the fact that there is a homely but IMO valid pa

Re: XO automatic clock setting

2009-08-27 Thread Martin Langhoff
On Thu, Aug 27, 2009 at 1:30 PM, Daniel Drake wrote: > I'd like to start a discussion about some of Martin's changes to the Thanks Daniel for the outstandingly clear description of my patches (and the review that backs it). Comments below - ... > Also, the time is set regardless of whether the le

XO automatic clock setting

2009-08-27 Thread Daniel Drake
Hi, I'd like to start a discussion about some of Martin's changes to the olpcrd, OATS and olpc-update components -- at the very least I'd like to make sure that the design of the new functionality has been at least glanced at by Michael and Scott (and that they are unable to immediately think of a

Re: initrd build from lenny -

2009-08-27 Thread Martin Langhoff
On Wed, Aug 26, 2009 at 7:14 PM, Martin Langhoff wrote: > Here is a tested initrd built with the steps in the updated > Building_initramfsen page > >   http://dev.laptop.org/~martin/olpcrd.img-001 > > My next problem is that epm doesn't work. Looks like it's been broken > for a while. OK, epm has

Restarting the Pilgrim 8.2.x build machinery...

2009-08-27 Thread Martin Langhoff
Hi list, I have added an rpm to my public_html/8.2, and with some trepidation I am starting to consider restarting the build machinery on xs-dev. - http://wiki.laptop.org/go/Build_system is all the docs I have atm. Any other docs available? - Anyone who could help with hints and knowledge? ch

Re: erasing the journal and config

2009-08-27 Thread James Cameron
Perhaps the librarians would accept a different initialisation method ... one that I use here is a USB flash key with a boot/olpc.fth file which automatically wipes a laptop. As a result, it is dangerous, and kept separate from others. Powering up with it inserted loses all stored data, and refla

Re: erasing the journal and config

2009-08-27 Thread Sascha Silbe
On Wed, Aug 26, 2009 at 01:25:09PM -0700, Sameer Verma wrote: rm /home/olpc/.sugar/default/config rm -rf /home/olpc/.sugar/default/datastore This isn't enough to clean all private data on the laptop. You need to at least clean the activity data directories (~/.sugar/). Best to remove all of ~

Re: New F11 for the XO-1 Build 6

2009-08-27 Thread Yioryos Asprobounitis
--- On Wed, 8/26/09, Daniel Drake wrote: > From: Daniel Drake > Subject: Re: New F11 for the XO-1 Build 6 > To: "Yioryos Asprobounitis" > Cc: dir...@gmail.org, "OLPC Testing" , "OLPC > Development" , "sugar-devel" > , "Fedora OLPC List" > , "Mitch Bradley" > Date: Wednesday, August 26, 20