diff options
author | Cody A.W. Somerville <cody.somerville@canonical.com> | 2009-04-17 10:23:38 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:44 +0100 |
commit | 4afc571314e86867311472f5646cae6a38226a4c (patch) | |
tree | a39c8476b8ea00d77da439001d376da175207ef0 /functions/defaults.sh | |
parent | 69d278fdb8aa4720ccb1ff7b2bea8e48dec1490c (diff) | |
download | vyos-live-build-4afc571314e86867311472f5646cae6a38226a4c.tar.gz vyos-live-build-4afc571314e86867311472f5646cae6a38226a4c.zip |
Adding lpia support.
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}" |