summaryrefslogtreecommitdiff
path: root/src/scripts/02defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:37 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:37 +0200
commit782da921f85b6756f844bc64bcaa1804826ed23b (patch)
tree688b8562e94d06ae94822c084369790895bc731f /src/scripts/02defaults.sh
parentf5e26be70004a382b440519a9e3f73778bf12e8d (diff)
downloadlive-build-782da921f85b6756f844bc64bcaa1804826ed23b.zip
live-build-782da921f85b6756f844bc64bcaa1804826ed23b.tar.gz
Adding live-package 0.99.15-1.
Diffstat (limited to 'src/scripts/02defaults.sh')
-rw-r--r--src/scripts/02defaults.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh
index 9cc4c5a..faca476 100644
--- a/src/scripts/02defaults.sh
+++ b/src/scripts/02defaults.sh
@@ -53,7 +53,7 @@ Defaults ()
# Set debian distribution
if [ -z "${LIVE_DISTRIBUTION}" ]
then
- LIVE_DISTRIBUTION="testing"
+ LIVE_DISTRIBUTION="unstable"
fi
if [ "${LIVE_DISTRIBUTION}" = "experimental" ]
@@ -86,7 +86,13 @@ Defaults ()
;;
amd64)
- LIVE_KERNEL="amd64"
+ if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_UNSTABLE}" ] || \
+ [ "${LIVE_DISTRIBUTION}" = "testing" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_TESTING}" ]
+ then
+ LIVE_KERNEL="amd64"
+ else
+ LIVE_KERNEL="amd64-generic"
+ fi
;;
arm)
@@ -99,7 +105,8 @@ Defaults ()
;;
i386)
- if [ "${LIVE_DISTRIBUTION}" = "oldstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_OLDSTABLE}" ]
+ if [ "${LIVE_DISTRIBUTION}" = "oldstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_OLDSTABLE}" ] || \
+ [ "${LIVE_DISTRIBUTION}" = "stable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_STABLE}" ]
then
LIVE_KERNEL="386"
else