have different dists
[camarabuntu.git] / bin / make-camarabuntu-8.04-addis-ababa.sh
blob2d7ea1eb0c5c0e59fe84003ceff7a92b1e2c07c8
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-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"