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