diff options
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 470885759..94ae0662b 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 |