Difference between revisions of "Building the BCCD"

From Earlham CS Department
Jump to navigation Jump to search
Line 18: Line 18:
 
tar xf garchive.tar -C /
 
tar xf garchive.tar -C /
 
</pre>
 
</pre>
 +
This creates an archive of third party source tarballs in /var/www/garchive that the build scripts can access later on.  This helps avoid stalls due to download failures during build.
  
 
4. Enter the CVS checkout and update it:
 
4. Enter the CVS checkout and update it:

Revision as of 00:30, 8 December 2005

These instructions outline the process of setting up a working build environment for the Bootable Cluster CD (BCCD).

1. Download and unpack a Debian chroot environment, or create one yourself.

wget http://bccd.cs.uni.edu/~tmcnulty/chroots/chroot-<arch>.tar.bz2
sudo tar xjf chroot-<arch>.tar.bz2

2. Enter the chroot:

sudo chroot chroot-<arch> /bin/bash
cd

3. Optional but recommended. Get a local copy of all the third party sources:

wget http://bccd.cs.uni.edu/~tmcnulty/chroots/garchive.tar # 600-some MB
tar xf garchive.tar -C /

This creates an archive of third party source tarballs in /var/www/garchive that the build scripts can access later on. This helps avoid stalls due to download failures during build.

4. Enter the CVS checkout and update it:

su - bccd
cd bccd
cvs -d:pserver:anonymous@bccd.cs.uni.edu:/ login
# hit return when prompted for a password
cvs -d:pserver:anonymous@bccd.cs.uni.edu:/ up

5. Start the build process:

cd meta/lnx-bbc
make singularity_GARCH=<arch> build # where <arch> is one of: ppc, i386
# wait a long time

6. Grab the ISO and burn it to a CD:

cp work/main.d/bccd-*.iso ~
cd
# use your favorite burner here

Comments or questions? Contact Toby.