commit 2be7d3ec6790a711b33ffa4479cf38441525dd57 Author: root Date: Thu Apr 26 09:04:18 2012 -0400 Initial configuration diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..430605b --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +binary.* +binary +cache +chroot +.stage +config/binary +config/bootstrap +config/common +config/source diff --git a/auto/build b/auto/build new file mode 100755 index 0000000..f1f7559 --- /dev/null +++ b/auto/build @@ -0,0 +1,9 @@ +#!/bin/sh + +# This variable is required otherwise +# /usr/share/live/build/scripts/build/lb_binary_debian-installer fails because +# the version is empty (nothing known in +# /usr/share/live/build/functions/releases.sh) +export RELEASE_kali="6.0" + +lb build noauto "$@" 2>&1 | tee binary.log diff --git a/auto/clean b/auto/clean new file mode 100755 index 0000000..9a4e671 --- /dev/null +++ b/auto/clean @@ -0,0 +1,6 @@ +#!/bin/sh + +lb clean noauto "$@" +rm -f config/binary config/bootstrap \ + config/chroot config/common config/source +rm -f binary.log diff --git a/auto/config b/auto/config new file mode 100755 index 0000000..bceb372 --- /dev/null +++ b/auto/config @@ -0,0 +1,30 @@ +#!/bin/sh + +# Various comments +# live-build doesn't work if --debian-installer-distribution is unknown of +# debian-cd => we have to override it as "squeeze" and install a symlink on the +# server + +if [ ! -e /usr/share/live/build/data/debian-cd/kali ]; then + echo "ERROR: Run this first" + echo "ln -sf squeeze /usr/share/live/build/data/debian-cd/kali" +fi + +lb config noauto \ + --packages-lists "kali" \ + --distribution "kali" \ + --archive-areas "main contrib non-free" \ + --bootstrap-config stable \ + --bootstrap-keyring "kali-archive-keyring" \ + --mirror-bootstrap http://repo.kali.org/kali \ + --mirror-debian-installer http://repo.kali.org/kali \ + --mirror-chroot-security http://repo.kali.org/security \ + --mirror-binary http://repo.kali.org/kali \ + --mirror-binary-security http://repo.kali.org/security \ + --iso-application "Kali Linux" \ + --iso-publisher "Kali" \ + --iso-volume "Kali Live" \ + --debian-installer live \ + --linux-packages linux-image \ + --linux-flavours kali \ + "$@" diff --git a/build_all.sh b/build_all.sh new file mode 100755 index 0000000..8dadd28 --- /dev/null +++ b/build_all.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +ARCHES="i386 amd64" +DATE=$(date +%Y%m%d) + +for ARCH in ARCHES; do + lb clean --purge + lb config --architecture $ARCH + lb build + mv binary.iso kali-$ARCH.iso +done + diff --git a/config/chroot_local-packageslists/kali.list b/config/chroot_local-packageslists/kali.list new file mode 100644 index 0000000..0cff9d7 --- /dev/null +++ b/config/chroot_local-packageslists/kali.list @@ -0,0 +1,7 @@ +# kali packages + +#include +#include + +amap +nmap