From 6a577d37f61b456bdb44d1f7bd059a5152b4dff3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 29 Jul 2011 15:26:58 +0200 Subject: Setting default kernel flavours for armel to all available flavour due to the nature of armel images (single rootfs image, multiple kernel images). --- functions/defaults.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 701ae3a25..38c60de14 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -614,12 +614,9 @@ Set_defaults () # Setting linux flavour string case "${LB_ARCHITECTURES}" in armel) - if [ -z "${LB_LINUX_FLAVOURS}" ] - then - Echo_error "There is no default kernel flavour defined for your architecture." - Echo_error "Please configure it manually with 'lb config -k FLAVOUR'." - exit 1 - fi + # 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}" ;; amd64) -- cgit v1.2.3