summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4d2fe4132..f4e251797 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -841,7 +841,15 @@ Set_defaults ()
;;
*)
- LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image-2.6}"
+ case "${LB_DISTRIBUTION}" in
+ squeeze|artax)
+ LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image-2.6}"
+ ;;
+
+ *)
+ LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image}"
+ ;;
+ esac
;;
esac