]> git.donarmstrong.com Git - neurodebian.git/blobdiff - live/auto/config
sensible (-dev files) and opportunitstic (gnome-core) lightweighting of VM image
[neurodebian.git] / live / auto / config
index 4cc6b4b4b6e76dd2add0ce43be8b2cb390cb3a3c..c804d4e400568394208b42a1add92264c019a62d 100755 (executable)
@@ -1,36 +1,56 @@
 #!/bin/bash
 
-set -e
+set -eu
 
 # the Debian release to use as a basis for the live-cd
 nd_basedist="squeeze"
-nd_version="6.0.0"
-nd_mirror=
+nd_version="6.0.1"
+nd_arch=i386
 
 deb_mirror="http://debproxy:9999"
 
+# Prepare splash screen
+if [ ! -e neurodebian-splash.png ]; then
+    # For Grub2 it should be .tga;
+       # NOTE: RLE compression is not supported by imagemagick for write
+       xcf2png -o neurodebian-splash-big.png ../artwork/wallpaper_hotbrain.xcf
+       convert neurodebian-splash-big.png -crop 1400x1050+280 -geometry 640x480 \
+               neurodebian-splash.png
+fi
+
+# enable recommends for now since we care about 'typical' use patterns atm
 lb config noauto \
   --apt apt \
-  --apt-recommends disabled \
-  --architecture i386 \
+  --apt-recommends true \
+  --architecture ${nd_arch} \
   --archive-areas "main contrib non-free" \
   --binary-images iso-hybrid \
   --binary-indices none \
-  --bootstrap-flavour minimal \
-  --debian-installer disabled \
+  --bootstrap-flavour standard \
+  --debian-installer netinst \
   --distribution ${nd_basedist} \
   --hostname neurodebian \
   --iso-application "NeuroDebian Live" \
-  --iso-preparer "NeuroDebian v.{nd_version}; http://neuro.debian.net" \
+  --iso-preparer "NeuroDebian ${nd_version}; http://neuro.debian.net" \
   --iso-publisher "NeuroDebian project; http://neuro.debian.net" \
-  --mirror-bootstrap "$mirror/debian/" \
+  --iso-volume "NeuroDebian Live ${nd_version} ($nd_arch)" \
+  --keyring-packages "debian-archive-keyring neurodebian-keyring" \
+  --memtest memtest86+ \
+  --mirror-bootstrap "${deb_mirror}/debian/" \
   --mirror-chroot "${deb_mirror}/debian/" \
   --mirror-chroot-security "${deb_mirror}/security/" \
+  --packages-lists "nd-core nd-neuroimaging nd-neuroimaging-doc nd-electrphysiology nd-electrphysiology-doc" \
+  --repositories neuro.debian.net \
   --security true \
+  --syslinux-splash neurodebian-splash.png \
+  --syslinux-timeout 10 \
   --username brain \
   --win32-loader enabled \
   ${@}
 
+  # Leads to a stall... may be incorrect format
+  # seems to be KVM issue...
+
   # --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
   # --packages-lists xfce \
 
@@ -44,3 +64,6 @@ lb config noauto \
 
 # Do we need any of the additional tools from live.debian.net?
 #  --repositories live.debian.net \
+
+# Should we enable backports repo? then add
+#  debian-backports-keyring