summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-23 12:35:10 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-23 12:35:10 +0200
commitd2be2946dbe2fe059fa6c523c495694b2cfcba68 (patch)
tree8fde2266d95d50015900d4db42a73283252f4681 /functions
parent1361d324e1c96c09b8496b1d01cdb7f54e7abeaa (diff)
downloadvyos-live-build-d2be2946dbe2fe059fa6c523c495694b2cfcba68.tar.gz
vyos-live-build-d2be2946dbe2fe059fa6c523c495694b2cfcba68.zip
Updating defaults for linux-latest metapackages in wheezy.
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