Martin Langhoff | 2 Feb 2010 18:02
Picon
Gravatar

Build system and repos for F11/XO-1.5?

I am starting to work with deployments on how to respin our F11/XO-1.5
OS. What is the current build system for the F11/XO-1.5? Are we still
using livecd-creator? Or dsd's new toy (for which I haven't found the
code or the doco yet)?

BTW, if instead of re-spinning an image (like image-creator does) we
tel them to use our same build infra, we *must* keep the repos for
each release published and stable for a long time. IOWs our builds
need to be reproduceable for years to come.

cheers,

m
--

-- 
 martin.langhoff <at> gmail.com
 martin <at> laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Chris Ball | 2 Feb 2010 18:36
Favicon
Gravatar

Re: Build system and repos for F11/XO-1.5?

Hi,

   > I am starting to work with deployments on how to respin our
   > F11/XO-1.5 OS. What is the current build system for the
   > F11/XO-1.5? Are we still using livecd-creator? Or dsd's new toy
   > (for which I haven't found the code or the doco yet)?

We're using dsd's new tool, which is:

http://dev.laptop.org/git/projects/olpc-os-builder
http://dev.laptop.org/git/projects/olpc-os-builder/tree/doc/README
http://dev.laptop.org/git/projects/olpc-os-builder/tree/doc/README.devel

To reproduce the latest 10.1.1 build:

# python osbuilder.py examples/olpc-os-10.1.1-xo1.5.ini

- Chris.
--

-- 
Chris Ball   <cjb <at> laptop.org>
One Laptop Per Child
Martin Langhoff | 2 Feb 2010 20:02
Picon
Gravatar

Re: Build system and repos for F11/XO-1.5?

On Tue, Feb 2, 2010 at 12:36 PM, Chris Ball <cjb <at> laptop.org> wrote:
> We're using dsd's new tool, which is:

Excellent, thanks for the confirmation.

> To reproduce the latest 10.1.1 build:
>
> # python osbuilder.py examples/olpc-os-10.1.1-xo1.5.ini

Right. I will have to work on it to...

 - provide an example kickstart / ini that sets all the config values
needed for a deployment; see
http://wiki.laptop.org/go/User:Martinlanghoff/Key_Autonomy:_Preparations_for_local_OS_image

 - provide an easy way to sign all the components for deployments that
use key autonomy

cheers,

m
--

-- 
 martin.langhoff <at> gmail.com
 martin <at> laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Chris Ball | 2 Feb 2010 20:33
Favicon
Gravatar

Re: Build system and repos for F11/XO-1.5?

Hi,

   >  - provide an example kickstart / ini that sets all the config
   > values needed for a deployment

Yep.

   >  - provide an easy way to sign all the components for deployments
   > that use key autonomy

It's already got one of those -- see modules/signing/README.

- Chris.
--

-- 
Chris Ball   <cjb <at> laptop.org>
One Laptop Per Child
Martin Langhoff | 2 Feb 2010 20:45
Picon
Gravatar

Re: Build system and repos for F11/XO-1.5?

On Tue, Feb 2, 2010 at 2:33 PM, Chris Ball <cjb <at> laptop.org> wrote:
> It's already got one of those -- see modules/signing/README.

gawjus! Thanks Daniel and Chris for the responses.

On Tue, Feb 2, 2010 at 2:33 PM, Daniel Drake <dsd <at> laptop.org> wrote:
> The idea is to get this into Fedora to make it dead easy for deployments:
> https://bugzilla.redhat.com/show_bug.cgi?id=551411
>
> Then these instructions can be followed:
> http://wiki.laptop.org/go/OS_Builder

I'll happily do maintenance and further documentation, as it's right
up my alley.

WRT to Fedora RPM upkeep, I might look for a co-packager that is part
of Fedora proper. Keeping track of current packaging practices,
deadlines and other distro-centric minutiae is a job onto itself.

cheers,

martin
--

-- 
 martin.langhoff <at> gmail.com
 martin <at> laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Martin Langhoff | 2 Feb 2010 20:17
Picon
Gravatar

Re: Build system and repos for F11/XO-1.5?

On Tue, Feb 2, 2010 at 12:36 PM, Chris Ball <cjb <at> laptop.org> wrote:
> http://dev.laptop.org/git/projects/olpc-os-builder/tree/doc/README

To Daniel,

couple questions about it...

 - Can it build F11/XO-1 images, with jffs2?

 - Can it build "partitioned" images?

 - I see the stern warning about running the compose on the same OS as
OLPC does. Are there specific things that blow up? Should we generally
recommend that the compose is run on the same OS that is being
composed? (F11 for F11-based OSs?)

To Chris,

If I look at examples/olpc-os-10.1.0-xo1.5.ini, there are 3 yum repos,
are the 3 of them frozen? In other words -- can anyone match our build
now and in 2 years' time?

cheers,

m
--

-- 
 martin.langhoff <at> gmail.com
 martin <at> laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
(Continue reading)

Daniel Drake | 2 Feb 2010 20:33
Favicon

Re: Build system and repos for F11/XO-1.5?

On 2 February 2010 13:17, Martin Langhoff <martin.langhoff <at> gmail.com> wrote:
> couple questions about it...
>
>  - Can it build F11/XO-1 images, with jffs2?

Yes, it is used for Steven's recent F11-XO1 releases

>  - Can it build "partitioned" images?

Yes, it has been used for all recent XO-1.5 OS builds which are partitioned.

>  - I see the stern warning about running the compose on the same OS as
> OLPC does. Are there specific things that blow up? Should we generally
> recommend that the compose is run on the same OS that is being
> composed? (F11 for F11-based OSs?)

I don't know what the effects (if any) would be if you tried to build
10.1 from non-F11, I have not tried but I don't think its a good idea,
hence the warning. Investigation welcome.

You also need to match the olpc-os-builder version to the build that
you are making, since some of the sauce that makes the build is
specific to the build scripts at a certain point of time. This
specific point might have been overlooked for 10.1.1 - is it
officially released? If so the olpc-os-builder tree should be bumped
and tagged as v1.1.0 at that specific point, and suggested_oob_version
in the 10.1.1 build config should be set appropriately.

> If I look at examples/olpc-os-10.1.0-xo1.5.ini, there are 3 yum repos,
> are the 3 of them frozen? In other words -- can anyone match our build
(Continue reading)

Chris Ball | 2 Feb 2010 20:37
Favicon
Gravatar

Re: Build system and repos for F11/XO-1.5?

Hi,

   >  - Can it build F11/XO-1 images, with jffs2?

Yes, see modules/jffs2_image/README.

   >  - Can it build "partitioned" images?

I think 1.5 images are always partitioned, 1.0 images are always not,
looking at the code (modules/sd_card_image/ for 1.5).

   >  - I see the stern warning about running the compose on the same
   > OS as OLPC does. Are there specific things that blow up? Should
   > we generally recommend that the compose is run on the same OS
   > that is being composed? (F11 for F11-based OSs?)

That's what I've been doing.

   > If I look at examples/olpc-os-10.1.0-xo1.5.ini, there are 3 yum
   > repos, are the 3 of them frozen? In other words -- can anyone
   > match our build now and in 2 years' time?

Yes, frozen.

- Chris.
--

-- 
Chris Ball   <cjb <at> laptop.org>
One Laptop Per Child

Gmane