From 9683c9d91be40e32843c1f54aa63675cf8d51421 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 24 Nov 2010 00:37:49 -0500 Subject: [PATCH] live: adding auto scripts --- live/auto/build | 2 ++ live/auto/clean | 5 +++++ live/auto/config | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100755 live/auto/build create mode 100755 live/auto/clean create mode 100755 live/auto/config diff --git a/live/auto/build b/live/auto/build new file mode 100755 index 0000000..03015cf --- /dev/null +++ b/live/auto/build @@ -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 index 0000000..ed7fcbc --- /dev/null +++ b/live/auto/clean @@ -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 index 0000000..4cc6b4b --- /dev/null +++ b/live/auto/config @@ -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 \ -- 2.39.2