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