summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-29 15:26:58 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-29 15:27:18 +0200
commit6a577d37f61b456bdb44d1f7bd059a5152b4dff3 (patch)
tree26634fcc6bec73119c4660aad2634dbcb26f1faa /functions
parentcba1c05b33f72a9fda77fc634249374b919736df (diff)
downloadvyos-live-build-6a577d37f61b456bdb44d1f7bd059a5152b4dff3.tar.gz
vyos-live-build-6a577d37f61b456bdb44d1f7bd059a5152b4dff3.zip
Setting default kernel flavours for armel to all available flavour due to the nature of armel images (single rootfs image, multiple kernel images).
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh9
1 files changed, 3 insertions, 6 deletions
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)