]> git.donarmstrong.com Git - neurodebian.git/blob - live/auto/config
6f842809f2e316ccc385174533762996ba143f8a
[neurodebian.git] / live / auto / config
1 #!/bin/bash
2
3 set -eu
4
5 # the Debian release to use as a basis for the live-cd
6 nd_basedist="squeeze"
7 nd_version="6.0.0"
8
9 deb_mirror="http://debproxy:9999"
10
11 # Prepare splash screen
12 if [ ! -e neurodebian-splash.png ]; then
13     # For Grub2 it should be .tga;
14         # NOTE: RLE compression is not supported by imagemagick for write
15         xcf2png -o neurodebian-splash-big.png ../artwork/wallpaper_hotbrain.xcf
16         convert neurodebian-splash-big.png -crop 1400x1050+280 -geometry 640x480 \
17                 neurodebian-splash.png
18 fi
19
20 # enable recommends for now since we care about 'typical' use patterns atm
21 lb config noauto \
22   --apt apt \
23   --apt-recommends true \
24   --architecture i386 \
25   --archive-areas "main contrib non-free" \
26   --binary-images iso-hybrid \
27   --binary-indices none \
28   --bootstrap-flavour standard \
29   --debian-installer netinst \
30   --distribution ${nd_basedist} \
31   --hostname neurodebian \
32   --iso-application "NeuroDebian Live" \
33   --iso-preparer "NeuroDebian v.{nd_version}; http://neuro.debian.net" \
34   --iso-publisher "NeuroDebian project; http://neuro.debian.net" \
35   --keyring-packages "debian-archive-keyring neurodebian-keyring" \
36   --memtest memtest86+ \
37   --mirror-bootstrap "${deb_mirror}/debian/" \
38   --mirror-chroot "${deb_mirror}/debian/" \
39   --mirror-chroot-security "${deb_mirror}/security/" \
40   --packages-lists "nd-core nd-neuroimaging nd-neuroimaging-doc nd-electrphysiology nd-electrphysiology-doc" \
41   --repositories neuro.debian.net \
42   --security true \
43   --syslinux-splash neurodebian-splash.png \
44   --syslinux-timeout 10 \
45   --username brain \
46   --win32-loader enabled \
47   ${@}
48
49   # Leads to a stall... may be incorrect format
50   # seems to be KVM issue...
51
52   # --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
53   # --packages-lists xfce \
54
55 # May be
56 # Deploy 1:1 copy of the running Live system
57 # --debian-installer live
58
59 # Would be nice to have it utterly useful, but rescue is too bloated, may be
60 # at least forensics
61 # --packages-lists
62
63 # Do we need any of the additional tools from live.debian.net?
64 #  --repositories live.debian.net \
65
66 # Should we enable backports repo? then add
67 #  debian-backports-keyring