summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2011-06-10 14:34:00 +0100
committerDaniel Baumann <daniel@debian.org>2011-06-11 13:26:31 +0200
commiteb6242e98eaa3a0bbeb982ceb6aef54e5dcfdbeb (patch)
tree2bb46af653362a0dce6f4e4b9404a29dad29233c /functions
parentae6ed7d84add2f5a55c843afa763879678cd2ef8 (diff)
downloadvyos-live-build-eb6242e98eaa3a0bbeb982ceb6aef54e5dcfdbeb.tar.gz
vyos-live-build-eb6242e98eaa3a0bbeb982ceb6aef54e5dcfdbeb.zip
Use powerpc and powerpc64-smp kernel flavours by default for Ubuntu, as there is no powerpc64 flavour (Closes: #630032).
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 5e6b9eb51..bff541b87 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -666,6 +666,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)