[PATCH] sparc64: Run elftoaout and piggyback when creating netboot image.
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
---
build/util/tftpboot.sh | 2 +-
debian/changelog | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/build/util/tftpboot.sh b/build/util/tftpboot.sh
index 1d5dcd740..ef869c5f1 100755
--- a/build/util/tftpboot.sh
+++ b/build/util/tftpboot.sh
@@ -59,7 +59,7 @@ gzip -cdq $sysmap > $tmp || true
# append rootimage to the kernel
case "$arch" in
- sparc)
+ sparc | sparc64)
elftoaout -o $tftpimage $tftpimage.tmp
# Piggyback appends the ramdisk to the a.out image in-place
piggyback64 $tftpimage $tmp $rootimage
diff --git a/debian/changelog b/debian/changelog
index 22a7570b9..0070a5db2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
* ppc64: Clone netboot-gtk pkg-lists from powerpc.
* ppc64: Add yaboot to Build-Depends.
* ppc64: Add mkvmlinuz to Build-Depends.
+ * sparc64: Run elftoaout and piggyback when creating netboot image.
-- Samuel Thibault <sthibault@debian.org> Sat, 11 Feb 2017 14:20:14 +0100
--
2.11.0
Reply to: