diff options
author | Daniel Baumann <daniel@debian.org> | 2009-02-08 11:10:07 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:41 +0100 |
commit | 99a850bd20ca15f6bd86d23f0c527aa9651cfc79 (patch) | |
tree | eb3f9b7f16bb34edf1bb3ca5cc3bbb447039e67f | |
parent | f14e9354b90ee753db6e565d5fb7dd79f1c44886 (diff) | |
download | live-build-99a850bd20ca15f6bd86d23f0c527aa9651cfc79.zip live-build-99a850bd20ca15f6bd86d23f0c527aa9651cfc79.tar.gz |
Introducing debian-release mode.
-rwxr-xr-x | functions/defaults.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index f823b18..5f57c92 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -21,7 +21,7 @@ Set_defaults () if [ -z "${LH_DISTRIBUTION}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_DISTRIBUTION="lenny" ;; @@ -72,7 +72,7 @@ Set_defaults () # Setting apt recommends case "${LH_MODE}" in - debian) + debian|debian-release) LH_APT_RECOMMENDS="${LH_APT_RECOMMENDS:-enabled}" ;; @@ -128,7 +128,7 @@ Set_defaults () if [ "${LH_INITRAMFS}" = "auto" ] then case "${LH_MODE}" in - debian) + debian|debian-release) if [ "${LH_DISTRIBUTION}" = "etch" ] then LH_INITRAMFS="casper" @@ -196,7 +196,7 @@ Set_defaults () if [ -z "${LH_ROOT}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_ROOT="debian-live" ;; @@ -273,7 +273,7 @@ Set_defaults () if [ -z "${LH_MIRROR_BOOTSTRAP}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) case "${LH_ARCHITECTURE}" in amd64|i386) LH_MIRROR_BOOTSTRAP="http://ftp.us.debian.org/debian/" @@ -297,7 +297,7 @@ Set_defaults () if [ -z "${LH_MIRROR_CHROOT_SECURITY}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_MIRROR_CHROOT_SECURITY="http://security.debian.org/" ;; @@ -311,7 +311,7 @@ Set_defaults () if [ -z "${LH_MIRROR_BINARY}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) case "${LH_ARCHITECTURE}" in amd64|i386) LH_MIRROR_BINARY="http://ftp.us.debian.org/debian/" @@ -333,7 +333,7 @@ Set_defaults () if [ -z "${LH_MIRROR_BINARY_SECURITY}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_MIRROR_BINARY_SECURITY="http://security.debian.org/" ;; @@ -375,7 +375,7 @@ Set_defaults () # Setting keyring packages case "${LH_MODE}" in - debian) + debian|debian-release) LH_KEYRING_PACKAGES="debian-archive-keyring" ;; @@ -656,7 +656,7 @@ Set_defaults () if [ -z "${LH_ISO_APPLICATION}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_ISO_APPLICATION="Debian Live" ;; @@ -676,7 +676,7 @@ Set_defaults () if [ -z "${LH_ISO_VOLUME}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_ISO_VOLUME="Debian Live \$(date +%Y%m%d-%H:%M)" ;; @@ -707,7 +707,7 @@ Set_defaults () if [ -z "${LH_NET_ROOT_PATH}" ] then case "${LH_MODE}" in - debian) + debian|debian-release) LH_NET_ROOT_PATH="/srv/debian-live" ;; |