Bug#630032: correct default powerpc kernel flavours for Ubuntu
Package: live-build
Version: 3.0~a18-1
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch oneiric
live-build defaults to using the powerpc and powerpc64 kernel flavours.
However, there's no powerpc64 kernel flavour in Ubuntu, only powerpc,
powerpc-smp, and powerpc64-smp. livecd-rootfs uses powerpc and
powerpc64-smp by default, which I think is reasonable. Patch attached.
Thanks,
--
Colin Watson [cjwatson@ubuntu.com]
>From 8039e96eca5429d18811acec25e91d3fce8b572a Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@canonical.com>
Date: Fri, 10 Jun 2011 14:34:00 +0100
Subject: [PATCH] Use powerpc and powerpc64-smp kernel flavours by default for
Ubuntu, as there is no powerpc64 flavour.
---
functions/defaults.sh | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 7c9d288..5375475 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -673,6 +673,18 @@ Set_defaults ()
exit 1
;;
+ ubuntu)
+ case "${LIST}" in
+ stripped|minimal)
+ LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc}"
+ ;;
+
+ *)
+ LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc powerpc64-smp}"
+ ;;
+ esac
+ ;;
+
*)
case "${LIST}" in
stripped|minimal)
--
1.7.5.3
Reply to: