diff options
author | root <root@dasajuma.(none)> | 2010-09-02 10:26:04 +0200 |
---|---|---|
committer | root <root@dasajuma.(none)> | 2010-09-02 10:26:04 +0200 |
commit | 8e0d211bf674953f2830830e27cb80a8b720ef17 (patch) | |
tree | a7814d6dd37b84476628e51d9fcb5f3ea98bba8e /auto | |
download | kanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.zip kanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.tar.gz |
Initial commit
Diffstat (limited to 'auto')
-rwxr-xr-x | auto/build | 3 | ||||
-rwxr-xr-x | auto/clean | 17 | ||||
-rwxr-xr-x | auto/config | 61 |
3 files changed, 81 insertions, 0 deletions
diff --git a/auto/build b/auto/build new file mode 100755 index 0000000..25e0a99 --- /dev/null +++ b/auto/build @@ -0,0 +1,3 @@ +#!/bin/sh + +lh build noauto ${@} 2>&1 | tee binary.log diff --git a/auto/clean b/auto/clean new file mode 100755 index 0000000..90634ac --- /dev/null +++ b/auto/clean @@ -0,0 +1,17 @@ +#!/bin/sh + +rm -f build.log + +# Remove generated files +rm -f config/binary config/bootstrap config/chroot config/common config/source + +# Remove empty directories in config tree +if ls config/*/ > /dev/null 2>&1 +then + rmdir --ignore-fail-on-non-empty config/*/ +fi + +if [ -d config ] +then + rmdir --ignore-fail-on-non-empty config +fi diff --git a/auto/config b/auto/config new file mode 100755 index 0000000..018610c --- /dev/null +++ b/auto/config @@ -0,0 +1,61 @@ +#!/bin/sh + +DEFAULT_CHROOT=http://ftp.de.debian.org/debian +DEFAULT_CHROOT_SECURITY=http://security.debian.org/ +DEFAULT_BINARY=http://ftp.de.debian.org/debian +DEFAULT_BINARY_SECURITY=http://security.debian.org/ + +MIRROR_CHROOT="${1:-$DEFAULT_CHROOT}" +MIRROR_CHROOT_SECURITY="${2:-$DEFAULT_CHROOT_SECURITY}" +MIRROR_BINARY="${3:-${1:-$DEFAULT_BINARY}}" +MIRROR_BINARY_SECURITY="${4:-${2:-$DEFAULT_BINARY_SECURITY}}" +MIRROR_BOOTSTRAP="${5:-${1:-$DEFAULT_CHROOT}}" + +if test "$MIRROR_CHROOT" = -; then + MIRROR_CHROOT="$DEFAULT_CHROOT" +fi +if test "$MIRROR_CHROOT_SECURITY" = -; then + MIRROR_CHROOT_SECURITY="$DEFAULT_CHROOT_SECURITY" +fi +if test "$MIRROR_BINARY" = -; then + MIRROR_BINARY="$DEFAULT_BINARY" +fi +if test "$MIRROR_BINARY_SECURITY" = -; then + MIRROR_BINARY_SECURITY="$DEFAULT_BINARY_SECURITY" +fi +if test "$MIRROR_BOOTSTRAP" = -; then + MIRROR_BOOTSTRAP="$DEFAULT_CHROOT" +fi + +lh config noauto \ + --iso-volume KANOTIX \ + --iso-preparer kanotix.com \ + --iso-publisher kanotix.com \ + --hostname Kanotix \ + --username kanotix \ + --chroot-filesystem squashfs \ + --debian-installer false \ + --linux-flavours generic \ + --linux-packages "linux-image-2.6.32-21 linux-headers-2.6.32-21" \ + --apt aptitude \ + --apt-recommends false \ + --bootappend-live 'quiet vga=791 live-config.utc=no live-config.timezone=Europe/Berlin live-config.locales=de keyb=de-latin1-nodeadkeys klayout=de kvariant=nodeadkeys' \ + --distribution squeeze \ + --archive-areas "main contrib non-free" \ + --repositories "live.debian.net acritox excalibur" \ + --security false \ + --checksums md5 \ + --bootloader syslinux \ + --syslinux-timeout 5 \ + --syslinux-menu true \ + --syslinux-splash config/binary_syslinux/splash.png \ + --memtest false \ + --mirror-bootstrap ${MIRROR_BOOTSTRAP} \ + --mirror-chroot ${MIRROR_CHROOT} \ + --mirror-chroot-security ${MIRROR_CHROOT_SECURITY} \ + --mirror-binary ${MIRROR_BINARY} \ + --mirror-binary-security ${MIRROR_BINARY_SECURITY} \ + --binary-indices true \ + --packages-lists "standard-x11" \ + ${@} + |