Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Dextrose/Building
(view source)
Revision as of 22:04, 24 August 2010
205 bytes added
,
22:04, 24 August 2010
no edit summary
Line 13:
Line 13:
== How to create a build ==
== How to create a build ==
−
* Checkout our top-level build system
:
+
=== First time preparation ===
+
+
* Checkout our top-level build system
cd src/olpc
cd src/olpc
git clone git://git.sugarlabs.org/dextrose/mainline.git dextrose
git clone git://git.sugarlabs.org/dextrose/mainline.git dextrose
−
*
One time preparation:
+
*
Install dependencies
yum upgrade
yum upgrade
yum install libtomcrypt-devel bitfrost make gcc mtd-utils python-imgcreate zip unzip
yum install libtomcrypt-devel bitfrost make gcc mtd-utils python-imgcreate zip unzip
+
+
* Compile C programs
+
make
make
−
* Build:
+
* Generate initial sequence number for the builds
+
+
echo 42 >buildnr-dx
+
+
=== Daily routine ===
+
+
* Build
(have a look at the available configuration files)
:
time sudo ./osbuilder.py examples/dextrose2-xo1.ini
time sudo ./osbuilder.py examples/dextrose2-xo1.ini
−
* Wait 15 minutes
+
* Wait 15
-20
minutes
* Serve hot
* Serve hot
+
== Publishing the images ==
== Publishing the images ==
Bernie
Bureaucrats
,
Check users
,
Administrators
1,771
edits