Difference between revisions of "Building the BCCD"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
These instructions outline the process of setting up a working build environment for the [http://bccd.cs.uni.edu Bootable Cluster CD] (BCCD). | These instructions outline the process of setting up a working build environment for the [http://bccd.cs.uni.edu Bootable Cluster CD] (BCCD). | ||
− | 1. [http://bccd.cs.uni.edu/~tmcnulty/chroots/ Download] and unpack a Debian chroot environment, or [[ | + | 1. [http://bccd.cs.uni.edu/~tmcnulty/chroots/ Download] and unpack a Debian chroot environment, or [[BCCD_chroot_Creation|create one yourself]]. |
<pre> | <pre> | ||
wget http://bccd.cs.uni.edu/~tmcnulty/chroots/chroot-<arch>.tar.bz2 | wget http://bccd.cs.uni.edu/~tmcnulty/chroots/chroot-<arch>.tar.bz2 | ||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
− | 3. ''Optional but recommended.'' | + | 3. ''Optional but recommended.'' Get a local copy of all the third party sources: |
<pre> | <pre> | ||
wget http://bccd.cs.uni.edu/~tmcnulty/chroots/garchive.tar # 600-some MB | wget http://bccd.cs.uni.edu/~tmcnulty/chroots/garchive.tar # 600-some MB | ||
tar xf garchive.tar -C / | tar xf garchive.tar -C / | ||
+ | # fix permissions | ||
+ | chmod a+x /var/www/garchive | ||
+ | chmod a+x /var/www/garchive/* | ||
+ | chmod -R a+r /var/www/garchive | ||
</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 the build process. | ||
4. Enter the CVS checkout and update it: | 4. Enter the CVS checkout and update it: |
Latest revision as of 01:10, 15 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 / # fix permissions chmod a+x /var/www/garchive chmod a+x /var/www/garchive/* chmod -R a+r /var/www/garchive
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 the build process.
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.