diff options
author | Daniel Baumann <daniel@debian.org> | 2012-04-23 12:35:10 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-04-23 12:35:10 +0200 |
commit | d2be2946dbe2fe059fa6c523c495694b2cfcba68 (patch) | |
tree | 8fde2266d95d50015900d4db42a73283252f4681 /functions | |
parent | 1361d324e1c96c09b8496b1d01cdb7f54e7abeaa (diff) | |
download | vyos-live-build-d2be2946dbe2fe059fa6c523c495694b2cfcba68.tar.gz vyos-live-build-d2be2946dbe2fe059fa6c523c495694b2cfcba68.zip |
Updating defaults for linux-latest metapackages in wheezy.
Diffstat (limited to 'functions')
-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 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 |