summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_debian-installer7
-rwxr-xr-xhelpers/lh_binary_grub2
-rwxr-xr-xhelpers/lh_binary_includes4
-rwxr-xr-xhelpers/lh_binary_linux-image10
-rwxr-xr-xhelpers/lh_binary_memtest2
-rwxr-xr-xhelpers/lh_binary_rootfs2
-rwxr-xr-xhelpers/lh_binary_syslinux4
-rwxr-xr-xhelpers/lh_binary_win32-loader2
-rwxr-xr-xhelpers/lh_chroot_hacks2
-rwxr-xr-xhelpers/lh_source_debian2
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