Puritan/StepByStep

From OLPC
Jump to: navigation, search

Introduction

This is an attempt to producing a "For Dummies" Step by Step Guide to producing a custom image with Puritan tested on Ubuntu 8.10 paying particular attention to caching (as we are working on low bandwidth connections).

Install Pre-Requisite Packages

$sudo apt-get install build-essential mock git-core

We wound up with 6.5MB to download at this stage; this might be higher or lower depending on what you do / don't have installed.

Download Puritan

Make a home for Puritan to download into and then start the git clone to download it:

$sudo -s
$mkdir /usr/src/puritan
$cd /usr/src/puritan
$(git clone git://dev.laptop.org/users/mstone/puritan compilation; cd compilation; git branch --track 767 origin/767; git checkout 767)
$git clone git://dev.laptop.org/users/mstone/puritan ui


Start Puritan

sudo -s
newgrp mock
usermod -a -G mock root