4 # check if the ubuntu 8.04 ISO is there
5 if [[ ! -f .
/isos
/ubuntu-8.04
.1-alternate-i386.iso
]] ; then
6 echo "You need to download the base ISO first"
11 .
/bin
/extract-cd-contents.sh isos
/ubuntu-8.04
.1-alternate-i386.iso hardy
13 echo "Copying various files across..."
14 cp .
/preseed
/camarabuntu-cd-install-8.04
-addis-ababa.seed .
/hardy
/preseed
/camarabuntu-cd-install.seed
15 zcat .
/isolinux
/splash.pcx.gz
> .
/hardy
/isolinux
/splash.pcx
16 cp .
/isolinux
/isolinux-8.04.cfg .
/hardy
/isolinux
/isolinux.cfg
17 cp .
/isolinux
/lang .
/hardy
/isolinux
/
19 echo "Creating the ISO in isos/camarabuntu-8.04-addis-ababa.iso..."
20 .
/bin
/make-cd-iso.py
-d hardy
-n "Camarabuntu 8.04 Addis Ababa" -f isos
/camarabuntu-8.04
-addis-ababa.iso
22 echo "Done. You can test the ISO with this command"
23 echo "sudo qemu -cdrom isos/camarabuntu-8.04-addis-ababa.iso -hda hda.qcow -m 256 -boot d -monitor stdio"