Dextrose/Building: Difference between revisions

Dfarning (talk | contribs)
m edit for readability
Dfarning (talk | contribs)
m edit for readability
Line 30: Line 30:
== Creating a build ==
== Creating a build ==


* Build (have a look at the available configuration files):
* Run the Build


   time sudo ./osbuilder.py examples/dextrose2-xo1.ini
   time sudo ./osbuilder.py examples/dextrose2-xo1.ini


* Wait 15-20 minutes
The initial build may take several hours depending on available bandwith.  Subsequent builds will take about 15-20 minutes


* If everything goes well, your new build can be found in <tt>build/output</tt>. Serve hot.
Upon completion the new image is available at <tt>build/output</tt>.
 
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.


Because several build tools, olpc-os-builder, imgcreate and yum, are nested, error output could be misleading or obscure. Before digging into code, you please ask on IRC in case someone has already seen the same problem.


== Publishing the images ==
== Publishing the images ==