From 6b8183c277c3306d3d497f0479fb0545b9d3d990 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Thu, 29 Sep 2011 13:04:17 -0600 Subject: Setting default armel linux flavour for Ubuntu. --- functions/defaults.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 83cb6d0f8..ef218d142 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -636,9 +636,16 @@ Set_defaults () # Setting linux flavour string case "${LB_ARCHITECTURES}" in armel) - # armel will have special images: one rootfs image and many additional kernel images. - # therefore we default to all available armel flavours - LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-iop32x ixp4xx kirkwood orion5x versatile}" + case "${LB_MODE}" in + ubuntu|kubuntu) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-omap}" + ;; + *) + # armel will have special images: one rootfs image and many additional kernel images. + # therefore we default to all available armel flavours + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-iop32x ixp4xx kirkwood orion5x versatile}" + ;; + esac ;; amd64) -- cgit v1.2.3