]> git.donarmstrong.com Git - neurodebian.git/blob - tools/makelivecd.sh
Add tools to build a live-cd (needs live-helper).
[neurodebian.git] / tools / makelivecd.sh
1 # the Debian release to use as a basis for the live-cd
2 nd_basedist="lenny"
3 # the NeuroDebian archive key
4 nd_key="A5D32F012649A5A9"
5 # packages to be installed
6 nd_packages="dicomnifti lipsia fsl fslview nifti-bin caret odin"
7
8 # perform basic setup for the live-cd
9 lh_config \
10   --apt apt \
11   --apt-recommends disabled \
12   --architecture i386 \
13   --binary-images iso \
14   --binary-indices none \
15   --bootstrap-flavour minimal \
16   --debian-installer disabled \
17   --distribution ${nd_basedist} \
18   --hostname debian \
19   --iso-application NeuroDebian \
20   --iso-publisher "Debian Experimental Psychology Project; http://alioth.debian.org/projects/pkg-exppsy" \
21   --mirror-bootstrap "http://ftp.uni-magdeburg.de/aftp/projects/linux/debian/" \
22   --packages-lists lxde \
23   --categories "main contrib non-free" \
24   --username neuro \
25   --packages ${nd_packages}
26
27 # add the NeuroDebian repository to the APT setup
28 echo "deb http://apsy.gse.uni-magdeburg.de/debian ${nd_basedist} main contrib non-free" \
29     > config/chroot_sources/neurodebian.chroot
30 cp config/chroot_sources/neurodebian.chroot config/chroot_sources/neurodebian.binary
31 # and the key
32 gpg --export -a ${nd_key} > config/chroot_sources/neurodebian.chroot.gpg
33 cp config/chroot_sources/neurodebian.chroot.gpg config/chroot_sources/neurodebian.binary.gpg
34
35
36 # build the live-cd with some noise
37 lh_build --verbose