From 01b64bf2b9b99df5dbeb7211646f5203a4f7bc00 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 30 Sep 2012 09:28:16 +0200 Subject: [PATCH] Using i386 -generic-pae kernel flavour on Ubuntu precise. --- functions/defaults.sh | 9 ++++++++- scripts/build/binary_debian-installer | 9 ++++++++- 2 files changed, 16 insertions(+), 2 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 ;; *) diff --git a/scripts/build/binary_debian-installer b/scripts/build/binary_debian-installer index 1a8543913..9720961cf 100755 --- a/scripts/build/binary_debian-installer +++ b/scripts/build/binary_debian-installer @@ -357,7 +357,14 @@ then case "${LB_MODE}" in ubuntu|kubuntu) - DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic" + case "${LB_DISTRIBUTION}" in + precise) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic-pae" + ;; + *) + DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic" + ;; + esac ;; *)