#1087942 Remove dependency on grub-common

Package:
memtest86+
Source:
memtest86+
Description:
thorough real-mode memory tester
Submitter:
Carsten Andrich
Date:
2024-11-20 17:15:01 UTC
Severity:
normal
#1087942#5
Date:
2024-11-20 16:21:48 UTC
From:
To:
Dear maintainers,

memtest86+ currently `Depends: grub-common`, which could/should not be
necessary for Debian systems not using grub.
All invocations of grub commands in the postinst/postrm scripts are
conditional on -e /boot/grub/grub.cfg. Additionally, the invoked
update-grub binary is actually part of the grub2-common package:
https://packages.debian.org/sid/amd64/grub2-common/filelist
I only had a superficial glance at the package, so I may have missed
sth. essential.
Would be a nice-to-have for systemd-boot users to obviate the dependency.

Thanks and best regards,
Carsten

#1087942#10
Date:
2024-11-20 17:11:27 UTC
From:
To:
Il 20/11/2024 17:21, Carsten Andrich ha scritto:

Was added to decrease at least part of big amount of reports of
memtest86+ install/upgrade fails, not related to memtest86+ itself but
update grub configuration that fail.

In many cases fails for grub configuration customizations by the user or
by tools, but there was a case that could happen if grub-common was not
updated before and it was solved with that dependency.

I don't know of another way, it would be great if a method was created
to update the grub configuration outside of the packages so it would be
done only once (unlike multiple times as can happen now) and at the end
of the installation, but it's not something I can create.