diff options
author | Ben Howard <ben.howard@canonical.com> | 2011-09-29 13:04:17 -0600 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-30 00:26:06 +0200 |
commit | 6b8183c277c3306d3d497f0479fb0545b9d3d990 (patch) | |
tree | e61e81c9a12f600978882260cc80c7a22ed39c2a | |
parent | 94e610f2e5a4fdd4ecec06f6efdb03591a1cb336 (diff) | |
download | vyos-live-build-6b8183c277c3306d3d497f0479fb0545b9d3d990.tar.gz vyos-live-build-6b8183c277c3306d3d497f0479fb0545b9d3d990.zip |
Setting default armel linux flavour for Ubuntu.
-rwxr-xr-x | functions/defaults.sh | 13 |
1 files changed, 10 insertions, 3 deletions
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) |