[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 <glaubitz@physik.fu-berlin.de>
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

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: