summaryrefslogtreecommitdiff
path: root/auto/kanotix
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2010-09-08 20:58:47 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2010-09-08 20:58:47 +0200
commit438c4c16efc3d5711f69f46462211e34d555515b (patch)
tree719712fbc043570cf7c8af6af11c8eda304799a3 /auto/kanotix
parent6e981ad6ec029d6de9349a76d15f579c11cf45eb (diff)
downloadkanotix-438c4c16efc3d5711f69f46462211e34d555515b.zip
kanotix-438c4c16efc3d5711f69f46462211e34d555515b.tar.gz
changed packageslists, added "--kanotix-flavours"
Diffstat (limited to 'auto/kanotix')
-rwxr-xr-xauto/kanotix15
1 files changed, 15 insertions, 0 deletions
diff --git a/auto/kanotix b/auto/kanotix
index ac6ec48..fb0aed3 100755
--- a/auto/kanotix
+++ b/auto/kanotix
@@ -7,6 +7,7 @@ usage()
cat <<eof
Additional Options for Kanotix:
+ [--kanotix-flavours FLAVOUR|"FLAVOURS"]
[--include-nvidia true|false]
[--tmpfs true|false]
[--tmpfs-options OPTIONS]
@@ -16,6 +17,7 @@ eof
write_kanotix_config()
{
+[ -z "${LH_KANOTIX_FLAVOURS}" ] && LH_KANOTIX_FLAVOURS="kanotix-master"
[ -z "${LH_KANOTIX_NVIDIA}" ] && LH_KANOTIX_NVIDIA="true"
[ -z "${LH_KANOTIX_TMPFS}" ] && [ -d tmpfs ] && LH_KANOTIX_TMPFS="true"
[ -z "${LH_KANOTIX_TMPFS}" ] && LH_KANOTIX_TMPFS="false"
@@ -24,6 +26,10 @@ write_kanotix_config()
cat >config/kanotix << EOF
# config/kanotix - additional options for Kanotix
+# \$LH_KANOTIX_FLAVOURS: select Kanotix-packageslists
+# (Default: kanotix-master)
+LH_KANOTIX_FLAVOURS="${LH_KANOTIX_FLAVOURS}"
+
# \$LH_KANOTIX_NVIDIA: include NVidia-Drivers into chroot
# (Default: ${LH_KANOTIX_NVIDIA})
LH_KANOTIX_NVIDIA="${LH_KANOTIX_NVIDIA}"
@@ -45,6 +51,15 @@ unset args; i=1
while [ "$1" ]
do
case "$1" in
+ --kanotix-flavour*)
+ LH_KANOTIX_FLAVOURS="$2"
+ shift
+ while [ "$2" -a "${2:0:1}" != "-" ]
+ do
+ LH_KANOTIX_FLAVOURS="$LH_KANOTIX_FLAVOURS $2"
+ shift
+ done
+ ;;
--include-nvidia)
LH_KANOTIX_NVIDIA="$2"
shift