Hi Colin,

thanks for the quick response!

On Thu, 04 Feb 2021, Colin Watson wrote:
> How about instead writing "... on the grub-efi-$ARCH package most likely
> to be appropriate for each architecture", and dropping the detailed list
> from the description that really just recapitulates the Depends field?
> I think I'd be OK with that, and then it would be less misleading while
> still meeting your needs in most cases.

Sure, fine for me. Please find attached an updated patch ready to be
merged with "git am". I have also added the appropriate "Closes"
statement (if you use "gbp dch").

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog <[email protected]>
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋    The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄⠀⠀⠀⠀   Debian Long Term Support: https://deb.li/LTS
>From 54e747c32f6e69e025e0450411e4859fbbe68184 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <[email protected]>
Date: Thu, 4 Feb 2021 11:02:10 +0100
Subject: [PATCH] Extend grub-efi to also cover arm64/ia64/arm

Tools like simple-cdd ensures the presence of grub-efi on the generated
ISO image but don't have a simple way to to deal with architecture
specific packages.

Thus I'd like to suggest to keep grub-efi not as a transitional package
but as normal dummy package depending on the package most likely to be
appropriate for each architecture.

Closes: #981819
---
 debian/control | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 656645077..55904ee03 100644
--- a/debian/control
+++ b/debian/control
@@ -59,15 +59,13 @@ Description: GRand Unified Bootloader, version 2 (dummy package)
  This is a dummy transitional package that depends on grub-coreboot.
 
 Package: grub-efi
-Section: oldlibs
-Architecture: any-i386 any-amd64
+Architecture: any-i386 any-amd64 any-arm64 any-ia64 any-arm
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends}, grub-efi-ia32 (= ${binary:Version}) [any-i386], grub-efi-amd64 (= ${binary:Version}) [any-amd64]
+Depends: ${misc:Depends}, grub-efi-ia32 (= ${binary:Version}) [any-i386], grub-efi-amd64 (= ${binary:Version}) [any-amd64], grub-efi-arm64 (= ${binary:Version}) [any-arm64], grub-efi-ia64 (= ${binary:Version}) [any-ia64], grub-efi-arm (= ${binary:Version}) [any-arm]
 Multi-Arch: foreign
 Description: GRand Unified Bootloader, version 2 (dummy package)
- This is a dummy transitional package that depends on either grub-efi-ia32 or
- grub-efi-amd64, depending on the architecture.
-
+ This is a dummy package that depends on the grub-efi-$ARCH package most likely
+ to be appropriate for each architecture.
 
 Package: grub-common
 Architecture: any
-- 
2.30.0

Reply via email to