Dextrose/Building: Difference between revisions

No edit summary
No edit summary
Line 10: Line 10:
You will also need a lot of bandwidth to download about '''700MB''' of rpm packages and Sugar activity bundles.
You will also need a lot of bandwidth to download about '''700MB''' of rpm packages and Sugar activity bundles.


 
== Initial setup ==
== How to create a build ==
 
=== First time preparation ===


* Checkout our top-level build system
* Checkout our top-level build system
Line 28: Line 25:


   make
   make
* Do '''not''' do <tt>make install</tt> even though the original README recommends it. It's useless and may lead to confusion.


* Generate initial sequence number for the builds
* Generate initial sequence number for the builds
Line 33: Line 32:
   echo 42 >buildnr-dx
   echo 42 >buildnr-dx


=== Daily routine ===
== Creating a build ==


* Build (have a look at the available configuration files):
* Build (have a look at the available configuration files):
Line 41: Line 40:
* Wait 15-20 minutes
* Wait 15-20 minutes


* Serve hot
* If everything goes well, your new build can be found in <tt>build/output</tt>. Serve hot.
 
Of course, a number of things will go wrong the first time. Error output could be misleading and
obscure due to nesting of several tools: olpc-os-builder, imgcreate and yum. Before you dig into
code, you may want to ask on IRC in case someone has already seen the same problem.