summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-02-17 14:57:12 +0100
committerDaniel Baumann <daniel@debian.org>2010-02-20 17:45:41 +0100
commita8e123d4697e587da728768fab5d4a0e3cbd5b65 (patch)
treecc46ffa39200c60120ef6eff7da468cef0d31fdd /functions
parentb7879356c51ef73de939af477cc06d2dafe78497 (diff)
downloadvyos-live-build-a8e123d4697e587da728768fab5d4a0e3cbd5b65.tar.gz
vyos-live-build-a8e123d4697e587da728768fab5d4a0e3cbd5b65.zip
Updating error message on arm/armel regarding kernel flavour selection.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 13399c327..79993f0e5 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -440,6 +440,12 @@ Set_defaults ()
if [ -z "${LH_LINUX_FLAVOURS}" ]
then
case "${LH_ARCHITECTURE}" in
+ arm|armel)
+ Echo_error "There is no default kernel flavour defined for your architecture."
+ Echo_error "Please configure it manually with 'lh config -k FLAVOUR'."
+ exit 1
+ ;;
+
alpha)
case "${LH_MODE}" in
ubuntu)
@@ -530,11 +536,6 @@ Set_defaults ()
LH_LINUX_FLAVOURS="sparc64"
;;
- arm|armel|m68k)
- Echo_error "You need to specify the linux kernel flavour manually on ${LH_ARCHITECTURE} (FIXME)."
- exit 1
- ;;
-
*)
Echo_error "Architecture ${LH_ARCHITECTURE} not yet supported (FIXME)"
exit 1