have different dists
[camarabuntu.git] / bin / make-camarabuntu-8.04-brazzaville.sh
blob93a5869a5c862ea77a896b27849ab5888cf134a2
1 #! /bin/bash
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"
7 exit 1
8 fi
10 mkdir -p hardy
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-brazzaville.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-brazzaville.iso..."
20 ./bin/make-cd-iso.py -d hardy -n "Camarabuntu 8.04 Brazzaville" -f isos/camarabuntu-8.04-brazzaville.iso
22 echo "Done. You can test the ISO with this command"
23 echo "sudo qemu -cdrom isos/camarabuntu-8.04-brazzaville.iso -hda hda.qcow -m 256 -boot d -monitor stdio"