summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-27 22:28:11 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:48 +0100
commit22992d84b040845cd412790793368003a89db344 (patch)
treef0417d76e92f33ab1e3d3a59fdb86d28b450811e
parent0d960b463c3415a73d65c58d34e4129c67c0cf53 (diff)
downloadlive-build-22992d84b040845cd412790793368003a89db344.zip
live-build-22992d84b040845cd412790793368003a89db344.tar.gz
Updating defaults of linux packages for sid (>= 2.6.31).
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4708857..94ae066 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -592,7 +592,15 @@ Set_defaults ()
then
case "${LH_MODE}" in
debian|debian-release|embedian)
- LH_LINUX_PACKAGES="linux-image-2.6 \${LH_UNION_FILESYSTEM}-modules-2.6"
+ case "${LH_DISTRIBUTION}" in
+ etch|lenny|squeeze)
+ LH_LINUX_PACKAGES="linux-image-2.6 \${LH_UNION_FILESYSTEM}-modules-2.6"
+ ;;
+
+ *)
+ LH_LINUX_PACKAGES="linux-image-2.6"
+ ;;
+ esac
if [ "${LH_CHROOT_FILESYSTEM}" = "squashfs" ]
then