emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#31969: closed ([PATCH] bootloader: grub-efi: Ident


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31969: closed ([PATCH] bootloader: grub-efi: Identify as "GuixSD" instead of "grub".)
Date: Tue, 26 Jun 2018 15:06:02 +0000

Your message dated Tue, 26 Jun 2018 17:05:42 +0200
with message-id <address@hidden>
and subject line Re: [bug#31969] [PATCH] bootloader: grub-efi: Identify as 
"GuixSD" instead of "grub".
has caused the debbugs.gnu.org bug report #31969,
regarding [PATCH] bootloader: grub-efi: Identify as "GuixSD" instead of "grub".
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31969: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31969
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] bootloader: grub-efi: Identify as "GuixSD" instead of "grub". Date: Mon, 25 Jun 2018 22:50:15 +0200
* gnu/bootloader/grub.scm (install-grub-efi): Pass "--bootloader-id" to 
grub-install.
---
 gnu/bootloader/grub.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 8f45995ca..538ddc37a 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -403,6 +403,7 @@ submenu \"GNU system, old configurations...\" {~%")
         ;; root partition.
         (setenv "GRUB_ENABLE_CRYPTODISK" "y")
         (unless (zero? (system* grub-install "--boot-directory" install-dir
+                                "--bootloader-id=GuixSD"
                                 "--efi-directory" target-esp))
           (error "failed to install GRUB (EFI)")))))
 
-- 
2.18.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#31969] [PATCH] bootloader: grub-efi: Identify as "GuixSD" instead of "grub". Date: Tue, 26 Jun 2018 17:05:42 +0200 User-agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu)
address@hidden (Ludovic Courtès) writes:

> Marius Bakke <address@hidden> skribis:
>
>> * gnu/bootloader/grub.scm (install-grub-efi): Pass "--bootloader-id" to 
>> grub-install.
>> ---
>>  gnu/bootloader/grub.scm | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
>> index 8f45995ca..538ddc37a 100644
>> --- a/gnu/bootloader/grub.scm
>> +++ b/gnu/bootloader/grub.scm
>> @@ -403,6 +403,7 @@ submenu \"GNU system, old configurations...\" {~%")
>>          ;; root partition.
>>          (setenv "GRUB_ENABLE_CRYPTODISK" "y")
>>          (unless (zero? (system* grub-install "--boot-directory" install-dir
>> +                                "--bootloader-id=GuixSD"
>
> What does it do?  I can’t even find it in the manual.

UEFI firmwares contain a list of boot entries that looks roughly like
"foo: uuid,partnum,/path/to/loader".  Try `efibootmgr -v` on an EFI
system for a more practical example.

If nothing is specified, GRUB will identify as "grub".  With this patch,
when you look through the possible boot entries in UEFI, there will be
no doubt which one is GuixSD :-)

However there is one other practical consequence: the GRUB EFI blob will
now be installed to "/boot/efi/EFI/GuixSD/grubx64.efi".  So current UEFI
GuixSD users will have a stale "/boot/efi/EFI/grub" folder that is no
longer needed.

> Otherwise no objections from me.

Great, I'll push this shortly.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]