From d4f70af91bce74ee742b57eb96626c168b6cc280 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 15 Jun 2008 04:46:51 +0100 Subject: Add support for the sparc architecture. --- functions/defaults.sh | 4 ++++ helpers/lh_binary | 1 + helpers/lh_binary_iso | 5 +++++ helpers/lh_binary_linux-image | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/functions/defaults.sh b/functions/defaults.sh index 7f635b0..f213c81 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -511,6 +511,10 @@ Set_defaults () powerpc) LH_BOOTLOADER="yaboot" ;; + + sparc) + LH_BOOTLOADER="silo" + ;; esac fi diff --git a/helpers/lh_binary b/helpers/lh_binary index e8ca415..090d32e 100755 --- a/helpers/lh_binary +++ b/helpers/lh_binary @@ -56,6 +56,7 @@ lh_binary_memtest ${*} lh_binary_grub ${*} lh_binary_syslinux ${*} lh_binary_yaboot ${*} +lh_binary_silo ${*} lh_binary_disk ${*} lh_binary_includes ${*} lh_binary_local-includes ${*} diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso index aa2e6db..7d762af 100755 --- a/helpers/lh_binary_iso +++ b/helpers/lh_binary_iso @@ -100,6 +100,11 @@ case "${LH_BOOTLOADER}" in GENISOIMAGE_EXCLUDE="boot/grub/stage2_eltorito" ;; + silo) + GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -G boot/isofs.b -B ..." + GENISOIMAGE_EXCLUDE="boot/isofs.b" + ;; + syslinux) GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table" GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat" diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image index 0419090..a4a3443 100755 --- a/helpers/lh_binary_linux-image +++ b/helpers/lh_binary_linux-image @@ -64,6 +64,10 @@ case "${LH_ARCHITECTURE}" in powerpc) LINUX="vmlinux" ;; + + sparc) + LINUX="vmlinuz" + ;; esac Check_multiarchitecture -- cgit v1.0