Dextrose/Building: Difference between revisions

No edit summary
No edit summary
Line 52: Line 52:
* Become root and run the build system:
* Become root and run the build system:


   sudo -i
   time sudo ./osbuilder.py config/dextrose3-xo1-nognome.ini
  time ./osbuilder.py config/dextrose3-xo1-nognome.ini


The initial build may take several hours, depending on available bandwith.
The initial build may take several hours, depending on available bandwidth.
Subsequent builds will take about 15-20 minutes on average machines.
Subsequent builds will take about 15-20 minutes on average desktop machines.


Upon completion the new image will be available in <tt>build/output</tt>.
Upon completion, the new image will be available in <tt>build/output</tt>.
Now copy it on a USB stick and test it on your target.
 
== Debugging ==


Because several build tools (olpc-os-builder, imgcreate and yum) run chrooted
Because several build tools (olpc-os-builder, imgcreate and yum) run chrooted
and nested into each other, error output could be misleading or obscure.
and nested into each other, error output is often obscure or misleading.
Before digging into code, you can ask on IRC in case someone has already seen the same problem.
Before digging into the code, try asking on IRC in case someone has already seen
the same problem.


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