Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/BUILDING
blob: a160283bafe705490a12e0a68dc94b8127a643a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Quickstart
-------------
git clone git://git.sugarlabs.org/soas/devxo.git xo-soas
cd xo-soas
git checkout -b xo-strawberry origin/xo-strawberry
mkdir images cache
echo "soasxo00" > images/lastbuild
sudo ./build


Introduction
-------------

This set of scripts is for people that want to build their own
Sugar/Fedora image customised for the the OLPC XO-1.

The created images are intended to be run from _writable_ media,
including:

- SD card
- USB stick
- XO-1 onboard NAND flash

The created images are not intended to be used to create LiveCDs for
running on the XO-1*.


Objectives
-------------

This set of scripts:

1a) creates a jffs2 .img, .crc, and .plc file set suitable for OFW's
    copy-nand and NANDBlaster image-copying methods

1b) creates a file that can be copied bit-for-bit (e.g., dd) onto a 4GB
    removable drive from which Sugar/F11 can be booted

2)  creates a livecd .ISO suitable for use booting an XO-1 with
    Sugar/F11 via Fedora's livecd-creator tool


Invocaton
-------------

Scripts are written assuming that "build" is being run by a cron job
that does the following (note the cd into 'images' and its effect on
relative paths):

#!/bin/bash
cd <git_checkout>
./build




Colophon
-------------

* a CD player is not a standard XO-1 accessory