diff options
-rwxr-xr-x | functions/defaults.sh | 9 | ||||
-rwxr-xr-x | 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 ;; *) |