diff options
author | Colin Watson <cjwatson@ubuntu.com> | 2012-09-30 09:28:16 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-09-30 09:28:55 +0200 |
commit | 01b64bf2b9b99df5dbeb7211646f5203a4f7bc00 (patch) | |
tree | 9ce36d0c2e853b670af9c6cc7e4eb239ebb86abd /functions | |
parent | 7ae630cc4388a7fc01fb58351556a7cb1409bb69 (diff) | |
download | vyos-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-x | functions/defaults.sh | 9 |
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 ;; *) |