[Dextrose] [PATCH 50/54] updater: Only pre-select already installed activities (fixes SL#2822, AU#383)

Jerry Vonau jvonau at shaw.ca
Mon Nov 21 22:11:21 EST 2011


On Mon, 2011-11-21 at 20:10 -0500, Bernie Innocenti wrote:
> On Mon, 2011-11-21 at 17:42 -0600, Jerry Vonau wrote:
> > On Tue, 2011-11-08 at 23:17 +0530, Anish Mangal wrote:
> > > From: Ajay Garg <ajaygargnsit at gmail.com>
> > > 
> > > OLPC AU uses the software updater to offer easy installing of optional
> > > activities. For this to work properly new activities must not be selected by
> > > default.
> > > 
> > > Signed-off-by: Ajay Garg <ajay at sugarlabs.org>
> > > [adjusted description, split off unrelated bug fixes, set default value]
> > > Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
> > > Signed-off-by: Anish Mangal <anish at sugarlabs.org>
> > > ---
> > 
> > 
> > Think this should become a feature for sugar 0.96.
> 
> Very good. Puno (Peru) also needs the ability to install activities from
> USB stick because most schools have no connectivity and no school
> servers.
> 
> I think it could be hacked together quickly with the current updater. Do
> we already have some "standard" for distributing activities on USB
> sticks? If not, I propose a directory Activities containing the xo
> bundles.
> 

I sort of have something, I've updated dracut-modules-olpc's
30-customization initrd to install rpms addition to activities off-line.
Have a look at: 

https://dev.laptop.org.au/projects/xo-au-usb/repository/revisions/master/entry/dracut/unpack.py

This works with well with an unlocked XO and olpc.fth script. You would
have to sign the kernel/initrd with you key if you have your XOs locked.
I haven't tried to sign kernel/initrd outside of os-builder yet.

Jerry 

> PS: the engineer from Puno sitting next to me says: "it's urgent!" :)
> 




More information about the Dextrose mailing list