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 /helpers | |
parent | 69d278fdb8aa4720ccb1ff7b2bea8e48dec1490c (diff) | |
download | live-build-4afc571314e86867311472f5646cae6a38226a4c.zip live-build-4afc571314e86867311472f5646cae6a38226a4c.tar.gz |
Adding lpia support.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary_debian-installer | 7 | ||||
-rwxr-xr-x | helpers/lh_binary_grub | 2 | ||||
-rwxr-xr-x | helpers/lh_binary_includes | 4 | ||||
-rwxr-xr-x | helpers/lh_binary_linux-image | 10 | ||||
-rwxr-xr-x | helpers/lh_binary_memtest | 2 | ||||
-rwxr-xr-x | helpers/lh_binary_rootfs | 2 | ||||
-rwxr-xr-x | helpers/lh_binary_syslinux | 4 | ||||
-rwxr-xr-x | helpers/lh_binary_win32-loader | 2 | ||||
-rwxr-xr-x | helpers/lh_chroot_hacks | 2 | ||||
-rwxr-xr-x | helpers/lh_source_debian | 2 |
10 files changed, 17 insertions, 20 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index f319d2a..79596cd 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -118,7 +118,7 @@ esac # Varous architecture-specific hacks case "${LH_ARCHITECTURE}" in - i386|amd64) + i386|amd64|lpia) case "${DI_IMAGE_TYPE}" in netboot) DI_REMOTE_BASE="netboot/debian-installer/${LH_ARCHITECTURE}" @@ -346,9 +346,10 @@ else # Downloading graphical-installer DOWNLOAD_GTK_INSTALLER=0 case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) DOWNLOAD_GTK_INSTALLER=1 ;; + powerpc) if [ "${LH_DEBIAN_INSTALLER}" = "netboot" ] then @@ -380,7 +381,7 @@ then DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-amd64" ;; - i386) + i386|lpia) DI_REQ_PACKAGES="elilo lilo grub" DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-486 linux-image-2.6-686" ;; diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub index 59377d2..6ddf843 100755 --- a/helpers/lh_binary_grub +++ b/helpers/lh_binary_grub @@ -46,7 +46,7 @@ Check_lockfile .lock Create_lockfile .lock # Check architecture -Check_architecture amd64 i386 +Check_architecture amd64 i386 lpia Check_crossarchitecture # Checking depends diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes index 9dfeb18..57d33cd 100755 --- a/helpers/lh_binary_includes +++ b/helpers/lh_binary_includes @@ -70,6 +70,10 @@ case "${LH_ARCHITECTURE}" in ARCH="386" ;; + lpia) + ARCH="lpi" + ;; + powerpc) ARCH="ppc" ;; diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image index f5abaab..0b1c542 100755 --- a/helpers/lh_binary_linux-image +++ b/helpers/lh_binary_linux-image @@ -53,19 +53,11 @@ case "${LH_INITRAMFS}" in esac case "${LH_ARCHITECTURE}" in - amd64) - LINUX="vmlinuz" - ;; - - i386) - LINUX="vmlinuz" - ;; - powerpc) LINUX="vmlinux" ;; - sparc) + *) LINUX="vmlinuz" ;; esac diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest index 88bacbc..edd9225 100755 --- a/helpers/lh_binary_memtest +++ b/helpers/lh_binary_memtest @@ -42,7 +42,7 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if [ "${LH_ARCHITECTURE}" != "amd64" ] && [ "${LH_ARCHITECTURE}" != "i386" ] +if [ "${LH_ARCHITECTURE}" != "amd64" ] && [ "${LH_ARCHITECTURE}" != "i386" ] && [ "${LH_ARCHITECTURE}" != "lpia" ] then Echo_warning "skipping binary_memtest, foreign architecture." exit 0 diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs index 9040f87..2bd1349 100755 --- a/helpers/lh_binary_rootfs +++ b/helpers/lh_binary_rootfs @@ -38,7 +38,7 @@ Check_lockfile .lock Create_lockfile .lock case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) LINUX="vmlinuz" ;; diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 310b879..e68cc4f 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -46,7 +46,7 @@ Check_lockfile .lock Create_lockfile .lock # Check architecture -Check_architecture amd64 i386 +Check_architecture amd64 i386 lpia Check_crossarchitecture # Checking depends @@ -220,7 +220,7 @@ Copy_syslinux_templates () fi case "${LH_ARCHITECTURE}" in - amd64|i386|powerpc) + amd64|i386|powerpc|lpia) if ls ${SCREEN_PATH}/*.install.g-i > /dev/null 2>&1 then for FILE in ${SCREEN_PATH}/*.install.g-i diff --git a/helpers/lh_binary_win32-loader b/helpers/lh_binary_win32-loader index eb7247c..b25a268 100755 --- a/helpers/lh_binary_win32-loader +++ b/helpers/lh_binary_win32-loader @@ -45,7 +45,7 @@ Create_lockfile .lock if [ "${LH_DISTRIBUTION}" != "etch" ] then case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) if [ "${LH_CHROOT_BUILD}" = "enabled" ] then # Checking depends diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 251c1c0..f23853f 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -121,7 +121,7 @@ then # bootloader is already installed in the image. Very ugly, but it's to # late to fix it in d-i because lenny rc2 has been already released. case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) Apt install grub ;; diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index 26a3238..7b44345 100755 --- a/helpers/lh_source_debian +++ b/helpers/lh_source_debian @@ -64,7 +64,7 @@ mtd-tools EOF case "${LH_ARCHITECTURE}" in - amd64|i386) + amd64|i386|lpia) cat >> source-selection.txt << EOF mtools |