summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2012-09-30 09:28:16 +0200
committerDaniel Baumann <daniel@debian.org>2012-09-30 09:28:55 +0200
commit01b64bf2b9b99df5dbeb7211646f5203a4f7bc00 (patch)
tree9ce36d0c2e853b670af9c6cc7e4eb239ebb86abd /functions
parent7ae630cc4388a7fc01fb58351556a7cb1409bb69 (diff)
downloadvyos-live-build-01b64bf2b9b99df5dbeb7211646f5203a4f7bc00.tar.gz
vyos-live-build-01b64bf2b9b99df5dbeb7211646f5203a4f7bc00.zip
Using i386 -generic-pae kernel flavour on Ubuntu precise.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index e1c640cbe..872dd53e2 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -717,7 +717,14 @@ Set_defaults ()
;;
ubuntu|kubuntu)
- LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
+ case "${LB_DISTRIBUTION}" in
+ precise)
+ LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic-pae}"
+ ;;
+ *)
+ LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
+ ;;
+ esac
;;
*)