#1076656 grub-efi-amd64-bin: depends on grub-efi-amd64-unsigned *and* recommends -signed

Package:
grub-efi-amd64-bin
Source:
grub-efi-amd64-bin
Description:
GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
Submitter:
Ansgar
Date:
2024-07-22 14:03:04 UTC
Severity:
normal
#1076656#5
Date:
2024-07-21 06:22:05 UTC
From:
To:
Hi,

+---
| Package: grub-efi-amd64-bin
| Version: 2.12-5
| Depends: [...], grub-efi-amd64-unsigned
| Recommends: grub-efi-amd64-signed, [...]
+---

It seems rather strange to install both signed and unsigned versions
as a dependency (by default).

Does grub-efi-amd64-unsigned enable any functions not offered by
grub-efi-amd64-signed?  If not, why depend on it at all and not just
the signed version?

For example for the Linux kernel, Debian also just installs the signed
version.

Ansgar

#1076656#10
Date:
2024-07-22 13:47:39 UTC
From:
To:
Hi,
I have tracked the change to the following commit:

https://salsa.debian.org/grub-team/grub/-/commit/6b61b4402d56307c25d3d830c590d64a17572770

It looks like an ongoing transition, but from my common user
perspective I am hesitant to proceed with the upgrade on my SecureBoot
system.

Could you (the maintainers) please advise and tell us more about the situation?

Thank you. Regards
Jan Kriho

#1076656#15
Date:
2024-07-22 13:59:47 UTC
From:
To:
This is by design and shouldn't cause any problems:
- grub-efi-amd64-unsigned contains binaries which used to be part of
grub-efi-amd64-bin, hence the depends.
- The recommend is also that for a reason, grub-efi-amd64-bin can be
used without the signed package.