Bug#773004: grub-pc: annoys with EFI debconf prompt
Steve McIntyre
steve at einval.com
Sat Dec 13 01:14:18 UTC 2014
On Sat, Dec 13, 2014 at 12:31:29AM +0000, Steve McIntyre wrote:
>On Fri, Dec 12, 2014 at 11:22:04PM +0000, Thorsten Glaser wrote:
>>Package: grub-pc
>>Version: 2.02~beta2-18
>>Severity: minor
Thorsten, silly question: at what point did this show up? During a
normal installation of grub-pc, or doing a reconfigure?
<snip>
>>This belongs into the grub-efi package or so, methinks,
>>but most certainly not in anything that would be installed
>>on a nōn-EFI system.
>
>Yes, you're correct. This didn't show up in my testing of that
>change. :-( Looks like I've screwed something up. Looking now...
Obvious quick fix would be to only ask this question for grub-*efi*
packages:
diff --git a/debian/config.in b/debian/config.in
index d2afbcb..27775c3 100644
--- a/debian/config.in
+++ b/debian/config.in
@@ -73,5 +73,9 @@ esac
db_input ${priority} grub2/linux_cmdline || true
db_input medium grub2/linux_cmdline_default || true
-db_input low grub2/force_efi_extra_removable || true
+case @PACKAGE@ in
+ grub-*efi*)
+ db_input low grub2/force_efi_extra_removable || true
+ ;;
+esac
db_go
--
Steve McIntyre, Cambridge, UK. steve at einval.com
"Further comment on how I feel about IBM will appear once I've worked out
whether they're being malicious or incompetent. Capital letters are forecast."
Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html
More information about the Pkg-grub-devel
mailing list