Introducing debian-release mode.

This commit is contained in:
Daniel Baumann 2009-02-08 11:10:07 +01:00
parent f14e9354b9
commit 99a850bd20
1 changed files with 12 additions and 12 deletions
functions

View File

@ -21,7 +21,7 @@ Set_defaults ()
if [ -z "${LH_DISTRIBUTION}" ] if [ -z "${LH_DISTRIBUTION}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_DISTRIBUTION="lenny" LH_DISTRIBUTION="lenny"
;; ;;
@ -72,7 +72,7 @@ Set_defaults ()
# Setting apt recommends # Setting apt recommends
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_APT_RECOMMENDS="${LH_APT_RECOMMENDS:-enabled}" LH_APT_RECOMMENDS="${LH_APT_RECOMMENDS:-enabled}"
;; ;;
@ -128,7 +128,7 @@ Set_defaults ()
if [ "${LH_INITRAMFS}" = "auto" ] if [ "${LH_INITRAMFS}" = "auto" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
if [ "${LH_DISTRIBUTION}" = "etch" ] if [ "${LH_DISTRIBUTION}" = "etch" ]
then then
LH_INITRAMFS="casper" LH_INITRAMFS="casper"
@ -196,7 +196,7 @@ Set_defaults ()
if [ -z "${LH_ROOT}" ] if [ -z "${LH_ROOT}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_ROOT="debian-live" LH_ROOT="debian-live"
;; ;;
@ -273,7 +273,7 @@ Set_defaults ()
if [ -z "${LH_MIRROR_BOOTSTRAP}" ] if [ -z "${LH_MIRROR_BOOTSTRAP}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
case "${LH_ARCHITECTURE}" in case "${LH_ARCHITECTURE}" in
amd64|i386) amd64|i386)
LH_MIRROR_BOOTSTRAP="http://ftp.us.debian.org/debian/" LH_MIRROR_BOOTSTRAP="http://ftp.us.debian.org/debian/"
@ -297,7 +297,7 @@ Set_defaults ()
if [ -z "${LH_MIRROR_CHROOT_SECURITY}" ] if [ -z "${LH_MIRROR_CHROOT_SECURITY}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_MIRROR_CHROOT_SECURITY="http://security.debian.org/" LH_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
;; ;;
@ -311,7 +311,7 @@ Set_defaults ()
if [ -z "${LH_MIRROR_BINARY}" ] if [ -z "${LH_MIRROR_BINARY}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
case "${LH_ARCHITECTURE}" in case "${LH_ARCHITECTURE}" in
amd64|i386) amd64|i386)
LH_MIRROR_BINARY="http://ftp.us.debian.org/debian/" LH_MIRROR_BINARY="http://ftp.us.debian.org/debian/"
@ -333,7 +333,7 @@ Set_defaults ()
if [ -z "${LH_MIRROR_BINARY_SECURITY}" ] if [ -z "${LH_MIRROR_BINARY_SECURITY}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_MIRROR_BINARY_SECURITY="http://security.debian.org/" LH_MIRROR_BINARY_SECURITY="http://security.debian.org/"
;; ;;
@ -375,7 +375,7 @@ Set_defaults ()
# Setting keyring packages # Setting keyring packages
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_KEYRING_PACKAGES="debian-archive-keyring" LH_KEYRING_PACKAGES="debian-archive-keyring"
;; ;;
@ -656,7 +656,7 @@ Set_defaults ()
if [ -z "${LH_ISO_APPLICATION}" ] if [ -z "${LH_ISO_APPLICATION}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_ISO_APPLICATION="Debian Live" LH_ISO_APPLICATION="Debian Live"
;; ;;
@ -676,7 +676,7 @@ Set_defaults ()
if [ -z "${LH_ISO_VOLUME}" ] if [ -z "${LH_ISO_VOLUME}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_ISO_VOLUME="Debian Live \$(date +%Y%m%d-%H:%M)" LH_ISO_VOLUME="Debian Live \$(date +%Y%m%d-%H:%M)"
;; ;;
@ -707,7 +707,7 @@ Set_defaults ()
if [ -z "${LH_NET_ROOT_PATH}" ] if [ -z "${LH_NET_ROOT_PATH}" ]
then then
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian|debian-release)
LH_NET_ROOT_PATH="/srv/debian-live" LH_NET_ROOT_PATH="/srv/debian-live"
;; ;;