]> git.donarmstrong.com Git - neurodebian.git/blob - live/auto/config
bff2059f8074748e903178ce4cadd06c739ca590
[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 -geometry 640x480 neurodebian-splash.png
17 fi
18
19 # enable recommends for now since we care about 'typical' use patterns atm
20 lb config noauto \
21   --apt apt \
22   --apt-recommends true \
23   --architecture i386 \
24   --archive-areas "main contrib non-free" \
25   --binary-images iso-hybrid \
26   --binary-indices none \
27   --bootstrap-flavour standard \
28   --debian-installer netinst \
29   --distribution ${nd_basedist} \
30   --hostname neurodebian \
31   --iso-application "NeuroDebian Live" \
32   --iso-preparer "NeuroDebian v.{nd_version}; http://neuro.debian.net" \
33   --iso-publisher "NeuroDebian project; http://neuro.debian.net" \
34   --keyring-packages "debian-archive-keyring neurodebian-keyring" \
35   --memtest memtest86+ \
36   --mirror-bootstrap "${deb_mirror}/debian/" \
37   --mirror-chroot "${deb_mirror}/debian/" \
38   --mirror-chroot-security "${deb_mirror}/security/" \
39   --packages-lists "nd-core nd-neuroimaging nd-neuroimaging-doc nd-electrphysiology nd-electrphysiology-doc" \
40   --repositories neuro.debian.net \
41   --security true \
42   --syslinux-splash neurodebian-splash.png \
43   --syslinux-timeout 10 \
44   --username brain \
45   --win32-loader enabled \
46   ${@}
47
48   # Leads to a stall... may be incorrect format
49   # seems to be KVM issue...
50
51   # --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
52   # --packages-lists xfce \
53
54 # May be
55 # Deploy 1:1 copy of the running Live system
56 # --debian-installer live
57
58 # Would be nice to have it utterly useful, but rescue is too bloated, may be
59 # at least forensics
60 # --packages-lists
61
62 # Do we need any of the additional tools from live.debian.net?
63 #  --repositories live.debian.net \
64
65 # Should we enable backports repo? then add
66 #  debian-backports-keyring