[sugar] experimental LiveCD SDK build

John J5 Palmieri johnp
Wed Apr 4 11:23:03 EDT 2007


On Tue, 2007-04-03 at 19:32 -0500, Ryan Pavlik wrote:
> Is there some scriptable way for an ordinary individual (like me) to 
> produce these LiveCD's?  

If I being an ordinary individual can do it so can you ;)  We are using
pilgrim which can be dowloaded via git from
git://git.fedoraproject.org/git/pilgrim

Eventually we will be using the livecd creator tools from fedora:

http://fedoraproject.org/wiki/FedoraLiveCD

The current project has the concept of streams which you can edit in the
streams.d directory.  You want to take a look at the
olpc-development-sdk stream:

http://git.fedoraproject.org/?p=pilgrim/.git;a=blob;f=streams.d/olpc-development-sdk.stream;h=985a22f86be96e8d8d642c30c31cac893fe90474;hb=HEAD

This inherits from the olpc-development.stream:

http://git.fedoraproject.org/?p=pilgrim/.git;a=blob;f=streams.d/olpc-development.stream;h=88278106360c5408b636c8d4702de4d2f2f5c089;hb=HEAD

and adds a few more packages.  Also look at the
olpc-development-livecd-yum-install.conf file:

http://git.fedoraproject.org/?p=pilgrim/.git;a=blob;f=streams.d/olpc-development-livecd-yum-install.conf;h=93ded43937a7e0cdbecec61cb45b7337222e263c;hb=HEAD

This sets up the yum repos to pull from.

After you are done editing those files (you can just take them as is
too), you can create a livecd by installing them via: 

make
make install.

and then run the pilgrim-autobuild command as root:

pilgrim-autobuild --stream olpc-development-sdk

The isos end up in /var/lib/pilgrim-images/olpc/streams/

If there are errors sometimes the tool fails to clean up its mounts in
which case you will need to use the mount command to figure out what was
mounted and unmount those directories before you can run the tool again.
There are a couple of packages you need installed like mkisofs.  I am
not sure what the others are off the top of my head.

> I had just sent the link to a faculty member 
> here at my university who teaches a "Computing in Global Society" 
> course, and was hoping that the LiveCD's would remain, and be updated 
> regularly, as they're a lot "nicer" way of introducing others to the 
> environment in a non-intrusive way.

I will be getting LiveCD's out for all of the major milestones.  Images
themselves which come out more frequently can be run in qemu.

-- 
John (J5) Palmieri <johnp at redhat.com>




More information about the Sugar-devel mailing list