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