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 amide caret dicomnifti \
15 fsl fsl-doc fslview fslview-doc \
17 lipsia lipsia-doc via-bin \
18 minc-tools nifti-bin odin praat \
19 python-mvpa python-nifti python-pyepl \
25 --apt-recommends disabled \
28 --binary-indices none \
29 --bootstrap-flavour minimal \
30 --categories "main contrib non-free" \
31 --debian-installer disabled \
32 --distribution ${nd_basedist} \
34 --iso-application NeuroDebian \
35 --iso-publisher "NeuroDebian; http://neuro.debian.org" \
36 --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
37 --packages-lists xfce \
38 --packages "${nd_packages}" \
40 --win32-loader enabled
42 # add the NeuroDebian repository to the APT setup
43 echo "deb http://neuro.debian.net/debian ${nd_basedist} main contrib non-free" \
44 > config/chroot_sources/neurodebian.chroot
45 cp config/chroot_sources/neurodebian.chroot config/chroot_sources/neurodebian.binary
47 gpg --export -a ${nd_key} > config/chroot_sources/neurodebian.chroot.gpg
48 cp config/chroot_sources/neurodebian.chroot.gpg config/chroot_sources/neurodebian.binary.gpg
51 # use NeuroDebian package cache
52 if [ ! -e "cache/packages_bootstrap" ]; then
54 ln -s ../../debian_aptcache/ cache/packages_bootstrap