Initial configuration
commit
2be7d3ec67
@ -0,0 +1,9 @@
|
|||||||
|
binary.*
|
||||||
|
binary
|
||||||
|
cache
|
||||||
|
chroot
|
||||||
|
.stage
|
||||||
|
config/binary
|
||||||
|
config/bootstrap
|
||||||
|
config/common
|
||||||
|
config/source
|
@ -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
|
@ -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
|
@ -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 \
|
||||||
|
"$@"
|
@ -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
|
||||||
|
|
@ -0,0 +1,7 @@
|
|||||||
|
# kali packages
|
||||||
|
|
||||||
|
#include <gnome>
|
||||||
|
#include <rescue>
|
||||||
|
|
||||||
|
amap
|
||||||
|
nmap
|
Loading…
Reference in New Issue