Re: Updated installation images for Debian Ports 2019-04-12

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.ia64
Message-ID <[email protected]>
On 4/15/19 6:46 PM, Frank Scheiner wrote:
>> If we’re lucky, it’s just a matter of enabling the grub-installer package on ia64 and add “ia64” to the architecture matching for “amd64-efi”.
> 
> That would be cool. Let's hope for the best. :-D
I think, the following patch should be enough as the installation
process for grub-efi-* is standardized and the code for grub-efi-amd64
in grub-installer should also work

>From 3ca3836ba6f409bd3b4a445b3db5fedc95ea1198 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <[email protected]>
Date: Tue, 16 Apr 2019 08:15:12 +0200
Subject: [PATCH] Add ia64 support

---
 debian/control | 2 +-
 grub-installer | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index fbc6728e..bbeb85ae 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Vcs-Browser: https://salsa.debian.org/installer-team/grub-installer
 Vcs-Git: https://salsa.debian.org/installer-team/grub-installer.git
 
 Package: grub-installer
-Architecture: i386 hurd-i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc ppc64 ppc64el sparc sparc64 mipsel arm64 armhf
+Architecture: i386 ia64 hurd-i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc ppc64 ppc64el sparc sparc64 mipsel arm64 armhf
 XB-Subarchitecture: ${subarch}
 Provides: bootable-system
 Depends: ${shlibs:Depends}, ${misc:Depends}, kernel-installer, created-fstab, di-utils (>= 1.15), di-utils-mapdevfs, os-prober, partman-utils
diff --git a/grub-installer b/grub-installer
index ef64fdce..c168989c 100755
--- a/grub-installer
+++ b/grub-installer
@@ -373,6 +373,9 @@ case $ARCH in
                grub_package="grub-pc"
        fi
        ;;
+    ia64/*)
+       grub_package="grub-efi-ia64"
+       ;;
     powerpc/*|ppc64/*)
        grub_package="grub-ieee1275"
        ;;
-- 
2.20.1

I have manually built a grub-installer with that patch now and uploaded
it. It should be pulled in automatically during the next image build.

Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.