summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-15 04:46:51 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:35 +0100
commitd4f70af91bce74ee742b57eb96626c168b6cc280 (patch)
treee34236041ef32c0bedc3e1ac7de26c358c13c487
parent1acc8f8b0b7f1d13ba2a51efbe131ffd2a471ae1 (diff)
downloadvyos-live-build-d4f70af91bce74ee742b57eb96626c168b6cc280.tar.gz
vyos-live-build-d4f70af91bce74ee742b57eb96626c168b6cc280.zip
Add support for the sparc architecture.
-rwxr-xr-xfunctions/defaults.sh4
-rwxr-xr-xhelpers/lh_binary1
-rwxr-xr-xhelpers/lh_binary_iso5
-rwxr-xr-xhelpers/lh_binary_linux-image4
4 files changed, 14 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 7f635b031..f213c815d 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 e8ca415b4..090d32e48 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 aa2e6dbec..7d762afa2 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 04190909f..a4a34437b 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