diff options
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 680e57c66..5f5deef16 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -518,6 +518,19 @@ Set_defaults () LH_LINUX_FLAVOURS="itanium" ;; + lpia) + case "${LH_MODE}" in + debian|debian-release|embedian) + Echo_error "Architecture ${LH_ARCHITECTURE} not supported on ${LH_MODE}." + exit 1 + ;; + + *) + LH_LINUX_FLAVOURS="lpia" + ;; + esac + ;; + powerpc) case "${LIST}" in stripped|minimal) @@ -534,6 +547,7 @@ Set_defaults () case "${LH_MODE}" in ubuntu) Echo_error "Architecture ${LH_ARCHITECTURE} not supported on Ubuntu." + exit 1 ;; *) @@ -558,6 +572,7 @@ Set_defaults () *) Echo_error "Architecture ${LH_ARCHITECTURE} not yet supported (FIXME)" + exit 1 ;; esac fi @@ -694,7 +709,7 @@ Set_defaults () if [ -z "${LH_BOOTLOADER}" ] then case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) LH_BOOTLOADER="syslinux" ;; @@ -854,7 +869,7 @@ Set_defaults () # Setting win32-loader option case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] then LH_WIN32_LOADER="${LH_WIN32_LOADER:-enabled}" |