Changes

Jump to navigation Jump to search
298 bytes added ,  05:28, 27 October 2010
no edit summary
Line 5: Line 5:  
== Build host requirements ==
 
== Build host requirements ==
   −
The Dextrose build system runs on '''Fedora 11 i386''' through '''Fedora 13 x86_64'''. The host system runs '''shouldn't''' matter, because the build runs in a chroot environment. olpc-os-builder does not yet run on Ubuntu due to a missing dependency.
+
The Dextrose build system runs on '''Fedora 11 i386''' through '''Fedora 13 x86_64''' ('''Fedora 14 beta''' can be used also). The host system runs '''shouldn't''' matter, because the build runs in a chroot environment. olpc-os-builder does not yet run on Ubuntu due to a missing dependency.
    
The initial build requires about '''700MB''' of rpm packages and Sugar activity bundles. The packages and bundles are cached for futures builds.
 
The initial build requires about '''700MB''' of rpm packages and Sugar activity bundles. The packages and bundles are cached for futures builds.
    
== Initial setup ==
 
== Initial setup ==
 +
 +
* Install dependencies (you need to be root to do this)
 +
 +
  yum upgrade
 +
  yum install libtomcrypt-devel bitfrost make gcc mtd-utils python-imgcreate zip unzip zlib-devel
    
* Checkout Dextrose build system
 
* Checkout Dextrose build system
    
   git clone git://git.sugarlabs.org/dextrose/mainline.git dextrose
 
   git clone git://git.sugarlabs.org/dextrose/mainline.git dextrose
  −
* Install dependencies
  −
  −
  yum upgrade
  −
  yum install libtomcrypt-devel bitfrost make gcc mtd-utils python-imgcreate zip unzip zlib-devel
      
* Compile build helper programs
 
* Compile build helper programs
    +
  cd dextrose
 
   make
 
   make
   −
* Generate initial sequence number for the builds
+
* Generate initial sequence number for the builds (42 is just for an example)
    
   echo 42 >buildnr-dx
 
   echo 42 >buildnr-dx
Line 30: Line 31:  
== Creating a build ==
 
== Creating a build ==
   −
* Run the Build
+
* Run the Build (again you need to be root to able to do this)
 +
 
 +
  time ./osbuilder.py examples/dextrose2-xo1.ini
 +
 
 +
obviusly you can use sudo if your user is configured to do this, and the you can use this
   −
   time sudo ./osbuilder.py examples/dextrose2-xo1.ini
+
   time ./osbuilder.py examples/dextrose2-xo1.ini
    
The initial build may take several hours depending on available bandwith.  Subsequent builds will take about 15-20 minutes
 
The initial build may take several hours depending on available bandwith.  Subsequent builds will take about 15-20 minutes
3

edits

Navigation menu