summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-09 21:54:41 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:03 +0100
commit352d962ee88f559ee19ec57732665ef583221fd9 (patch)
treeb2c6db6bf054ec0fdf2cdce3af4f96c62a7f86ab
parent25c38a043ed102b7d636432425b4cc0aade6a156 (diff)
downloadvyos-live-build-352d962ee88f559ee19ec57732665ef583221fd9.tar.gz
vyos-live-build-352d962ee88f559ee19ec57732665ef583221fd9.zip
Removing lpia support, this architecture is dead.
-rwxr-xr-xfunctions/architecture.sh10
-rwxr-xr-xfunctions/defaults.sh17
-rwxr-xr-xhelpers/lh_binary_debian-installer4
-rwxr-xr-xhelpers/lh_binary_grub2
-rwxr-xr-xhelpers/lh_binary_grub22
-rwxr-xr-xhelpers/lh_binary_includes4
-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
12 files changed, 15 insertions, 38 deletions
diff --git a/functions/architecture.sh b/functions/architecture.sh
index 278ec6a6f..cd8e073a8 100755
--- a/functions/architecture.sh
+++ b/functions/architecture.sh
@@ -38,8 +38,8 @@ Check_crossarchitecture ()
fi
case "${HOST}" in
- amd64|i386|lpia|x86_64)
- CROSS="amd64 i386 lpia"
+ amd64|i386|x86_64)
+ CROSS="amd64 i386"
;;
powerpc|ppc64)
@@ -75,12 +75,6 @@ Check_multiarchitecture ()
DESTDIR_INSTALL="${DESTDIR_INSTALL}.386"
;;
- lpia)
- DESTDIR="${DESTDIR}.lpi"
- DESTDIR_LIVE="${DESTDIR_LIVE}.lpi"
- DESTDIR_INSTALL="${DESTDIR_INSTALL}.lpi"
- ;;
-
powerpc)
DESTDIR="${DESTDIR}.ppc"
DESTDIR_LIVE="${DESTDIR_LIVE}.ppc"
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3179df068..c330b4281 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -509,19 +509,6 @@ 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)
@@ -703,7 +690,7 @@ Set_defaults ()
if [ -z "${LH_BOOTLOADER}" ]
then
case "${LH_ARCHITECTURE}" in
- amd64|i386|lpia)
+ amd64|i386)
LH_BOOTLOADER="syslinux"
;;
@@ -891,7 +878,7 @@ Set_defaults ()
# Setting win32-loader option
case "${LH_ARCHITECTURE}" in
- amd64|i386|lpia)
+ amd64|i386)
if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
then
LH_WIN32_LOADER="${LH_WIN32_LOADER:-enabled}"
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 046e1b488..9fccdfa88 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -290,7 +290,7 @@ else
if [ "${LH_DEBIAN_INSTALLER_GUI}" = "enabled" ]
then
case "${LH_ARCHITECTURE}" in
- amd64|i386|lpia)
+ amd64|i386)
DOWNLOAD_GTK_INSTALLER=1
;;
@@ -326,7 +326,7 @@ then
DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-amd64"
;;
- i386|lpia)
+ i386)
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 a30aa3d1f..b2ccfea43 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 lpia
+Check_architecture amd64 i386
Check_crossarchitecture
# Checking depends
diff --git a/helpers/lh_binary_grub2 b/helpers/lh_binary_grub2
index a04ad8f4c..41d9483cf 100755
--- a/helpers/lh_binary_grub2
+++ b/helpers/lh_binary_grub2
@@ -46,7 +46,7 @@ Check_lockfile .lock
Create_lockfile .lock
# Check architecture
-Check_architecture amd64 i386 lpia
+Check_architecture amd64 i386
Check_crossarchitecture
# Checking depends
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index 7c8ed6658..e7f6e6073 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -70,10 +70,6 @@ case "${LH_ARCHITECTURE}" in
ARCH="386"
;;
- lpia)
- ARCH="lpi"
- ;;
-
powerpc)
ARCH="ppc"
;;
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest
index cfe455c2d..98a3be517 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" ] && [ "${LH_ARCHITECTURE}" != "lpia" ]
+if [ "${LH_ARCHITECTURE}" != "amd64" ] && [ "${LH_ARCHITECTURE}" != "i386" ]
then
Echo_warning "skipping binary_memtest, foreign architecture."
exit 0
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 749a6f44c..39c7d622e 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|lpia)
+ amd64|i386)
LINUX="vmlinuz"
;;
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index a6ad7e3f8..70ff5d857 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 lpia
+Check_architecture amd64 i386
Check_crossarchitecture
# Checking depends
@@ -259,7 +259,7 @@ Copy_syslinux_templates ()
fi
case "${LH_ARCHITECTURE}" in
- amd64|i386|powerpc|lpia)
+ amd64|i386|powerpc)
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 7eb7eea25..6a61dfa3d 100755
--- a/helpers/lh_binary_win32-loader
+++ b/helpers/lh_binary_win32-loader
@@ -43,7 +43,7 @@ Check_lockfile .lock
Create_lockfile .lock
case "${LH_ARCHITECTURE}" in
- amd64|i386|lpia)
+ amd64|i386)
if [ "${LH_CHROOT_BUILD}" = "enabled" ]
then
# Checking depends
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 84e25671b..34b31d99f 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -117,7 +117,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|lpia)
+ amd64|i386)
case "${LH_BOOTLOADER}" in
grub)
Apt install grub
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian
index b3cd08b93..ef0449d39 100755
--- a/helpers/lh_source_debian
+++ b/helpers/lh_source_debian
@@ -64,7 +64,7 @@ mtd-tools
EOF
case "${LH_ARCHITECTURE}" in
- amd64|i386|lpia)
+ amd64|i386)
cat >> source-selection.txt << EOF
mtools