5 # for a fresh build one might want to run:
6 # sudo rm -rf cache/stages_bootstrap chroot/ config/ scripts/ binary* .stage
8 # the Debian release to use as a basis for the live-cd
10 # the NeuroDebian archive key
11 nd_key="A5D32F012649A5A9"
12 # packages to be installed
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 \
20 lipsia lipsia-doc via-bin \
21 minc-tools nifti-bin odin praat \
22 python-mvpa python-nifti python-pyepl \
30 --apt-recommends disabled \
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" \
46 --win32-loader enabled
48 # --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
49 # --packages-lists xfce \
52 # Deploy 1:1 copy of the running Live system
53 # --debian-installer live
55 # Would be nice to have it utterly useful, but rescue is too bloated, may be
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
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
68 ## use NeuroDebian package cache
69 #if [ ! -e "cache/packages_bootstrap" ]; then
71 # ln -s ../../debian_aptcache/ cache/packages_bootstrap