blob: be5c30bb6dfab3016f3df33d10aacbaa75568da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
#!/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
# kernel
lh config noauto \
# --linux-flavours generic \
# --linux-packages "linux-image-2.6.32-21 linux-headers-2.6.32-21"
--linux-flavours 686-bigmem \
--linux-packages "linux-headers-2.6-686-bigmem"
lh config noauto \
--iso-volume KANOTIX \
--iso-preparer kanotix.com \
--iso-publisher kanotix.com \
--hostname Kanotix \
--username kanotix \
--chroot-filesystem squashfs \
--debian-installer false \
--apt aptitude \
--apt-recommends false \
--bootappend-live 'quiet live-config.utc=no live-config.timezone=Europe/Berlin live-config.locales=de live-config.keyboard-layouts=de live-config.keyboard-variant=nodeadkeys keyb=de-latin1-nodeadkeys klayout=de kvariant=nodeadkeys' \
--distribution squeeze \
--archive-areas "main contrib non-free" \
--repositories "live.debian.net acritox excalibur hellfire" \
--security true \
--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" \
${@}
# Fetch kanotix-scripts if necessary
mkdir -p config/chroot_local-includes/usr/local/bin
grep -oe '^[^ #]*' scripts.urls | wget -i- -c -N -q -P config/chroot_local-includes/usr/local/bin
chmod 755 config/chroot_local-includes/usr/local/bin/*.sh
|