]> git.donarmstrong.com Git - neurodebian.git/blob - tools/makelivecd.sh
readding spashscreen (apparent KVM got stuck) and removing gnome (what for games?)
[neurodebian.git] / tools / makelivecd.sh
1 #!bin/sh
2
3 set -e
4
5 # for a fresh build one might want to run:
6 # sudo rm -rf cache/stages_bootstrap chroot/ config/ scripts/ binary* .stage
7
8 # the Debian release to use as a basis for the live-cd
9 nd_basedist="squeeze"
10 # the NeuroDebian archive key
11 nd_key="A5D32F012649A5A9"
12 # packages to be installed
13 nd_packages="\
14 gnome-core mc evince bash-completion ntpdate file-roller gnome-utils \
15 gnome-themes eog vim \
16 software-center gdebi gedit-plugins gnome-media synaptic menu less \
17 amide caret dicomnifti \
18 fsl fsl-doc fslview fslview-doc \
19 iceweasel \
20 lipsia lipsia-doc via-bin \
21 minc-tools nifti-bin odin praat \
22 python-mvpa python-nifti python-pyepl \
23 xmedcon \
24 neurodebian-keyring
25 "
26
27
28 lb config \
29   --apt apt \
30   --apt-recommends disabled \
31   --architecture i386 \
32   --archive-areas "main contrib non-free" \
33   --binary-images iso-hybrid \
34   --binary-indices none \
35   --bootstrap-flavour minimal \
36   --debian-installer disabled \
37   --distribution ${nd_basedist} \
38   --hostname neurodebian \
39   --iso-application "NeuroDebian Live" \
40   --iso-preparer "NeuroDebian v.6.0.0; http://neuro.debian.net" \
41   --iso-publisher "NeuroDebian project; http://neuro.debian.net" \
42   --mirror-bootstrap "http://debproxy:9999/debian/" \
43   --packages "${nd_packages}" \
44   --repositories "http://neuro.debian.net/debian" \
45   --username brain \
46   --win32-loader enabled
47
48   # --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
49   # --packages-lists xfce \
50
51 # May be
52 # Deploy 1:1 copy of the running Live system
53 # --debian-installer live
54
55 # Would be nice to have it utterly useful, but rescue is too bloated, may be
56 # at least forensics
57 # --packages-lists 
58
59 ## add the NeuroDebian repository to the APT setup
60 #echo "deb http://neuro.debian.net/debian ${nd_basedist} main contrib non-free" \
61 #    > config/chroot_sources/neurodebian.chroot
62 #cp config/chroot_sources/neurodebian.chroot config/chroot_sources/neurodebian.binary
63 ## and the key
64 #gpg --export -a ${nd_key} > config/chroot_sources/neurodebian.chroot.gpg
65 #cp config/chroot_sources/neurodebian.chroot.gpg config/chroot_sources/neurodebian.binary.gpg
66 #
67
68 ## use NeuroDebian package cache
69 #if [ ! -e "cache/packages_bootstrap" ]; then
70 #  mkdir -p cache
71 #  ln -s ../../debian_aptcache/ cache/packages_bootstrap
72 #fi