]> git.donarmstrong.com Git - neurodebian.git/commitdiff
live: adding auto scripts
authorYaroslav Halchenko <debian@onerussian.com>
Wed, 24 Nov 2010 05:37:49 +0000 (00:37 -0500)
committerYaroslav Halchenko <debian@onerussian.com>
Wed, 24 Nov 2010 05:37:49 +0000 (00:37 -0500)
live/auto/build [new file with mode: 0755]
live/auto/clean [new file with mode: 0755]
live/auto/config [new file with mode: 0755]

diff --git a/live/auto/build b/live/auto/build
new file mode 100755 (executable)
index 0000000..03015cf
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+lb build noauto ${@} 2>&1 | tee binary.log
diff --git a/live/auto/clean b/live/auto/clean
new file mode 100755 (executable)
index 0000000..ed7fcbc
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+lb clean noauto ${@}
+rm -f config/binary config/bootstrap \
+ config/chroot config/common config/source
+rm -f binary.log
diff --git a/live/auto/config b/live/auto/config
new file mode 100755 (executable)
index 0000000..4cc6b4b
--- /dev/null
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+set -e
+
+# the Debian release to use as a basis for the live-cd
+nd_basedist="squeeze"
+nd_version="6.0.0"
+nd_mirror=
+
+deb_mirror="http://debproxy:9999"
+
+lb config noauto \
+  --apt apt \
+  --apt-recommends disabled \
+  --architecture i386 \
+  --archive-areas "main contrib non-free" \
+  --binary-images iso-hybrid \
+  --binary-indices none \
+  --bootstrap-flavour minimal \
+  --debian-installer disabled \
+  --distribution ${nd_basedist} \
+  --hostname neurodebian \
+  --iso-application "NeuroDebian Live" \
+  --iso-preparer "NeuroDebian v.{nd_version}; http://neuro.debian.net" \
+  --iso-publisher "NeuroDebian project; http://neuro.debian.net" \
+  --mirror-bootstrap "$mirror/debian/" \
+  --mirror-chroot "${deb_mirror}/debian/" \
+  --mirror-chroot-security "${deb_mirror}/security/" \
+  --security true \
+  --username brain \
+  --win32-loader enabled \
+  ${@}
+
+  # --mirror-bootstrap "http://debian.lcs.mit.edu/debian/" \
+  # --packages-lists xfce \
+
+# May be
+# Deploy 1:1 copy of the running Live system
+# --debian-installer live
+
+# Would be nice to have it utterly useful, but rescue is too bloated, may be
+# at least forensics
+# --packages-lists
+
+# Do we need any of the additional tools from live.debian.net?
+#  --repositories live.debian.net \