* [bug#38580] [PATCH 0/1] Start BIOS setup from GRUB
@ 2019-12-12 19:53 Brice Waegeneire
2019-12-12 19:53 ` [bug#38581] [PATCH 1/1] bootloader: grub: Add firmware setup entry Brice Waegeneire
0 siblings, 1 reply; 3+ messages in thread
From: Brice Waegeneire @ 2019-12-12 19:53 UTC (permalink / raw)
To: 38580
On EFI systems this patch allow one to start the firmware setup from GRUB.
This is the same behaviour as in NixOS.
Brice Waegeneire (1):
bootloader: grub: Add firmware setup entry
gnu/bootloader/grub.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
2.19.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#38581] [PATCH 1/1] bootloader: grub: Add firmware setup entry
2019-12-12 19:53 [bug#38580] [PATCH 0/1] Start BIOS setup from GRUB Brice Waegeneire
@ 2019-12-12 19:53 ` Brice Waegeneire
2019-12-23 8:32 ` Danny Milosavljevic
0 siblings, 1 reply; 3+ messages in thread
From: Brice Waegeneire @ 2019-12-12 19:53 UTC (permalink / raw)
To: 38581
* gnu/bootloader/grub.scm (grub-configuration-file): Add 'Firmware
setup' entry for EFI platform.
---
gnu/bootloader/grub.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index d984d5f5e3..700208f7a9 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -384,7 +384,13 @@ set timeout=~a~%"
submenu \"GNU system, old configurations...\" {~%")
#$@(map menu-entry->gexp old-entries)
(format port "}~%"))
- #~()))))
+ #~())
+ (format port "
+if [ \"${grub_platform}\" == efi ]; then
+ menuentry \"Firmware setup\" {
+ fwsetup
+ }
+fi"))))
(computed-file "grub.cfg" builder))
--
2.19.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#38581] [PATCH 1/1] bootloader: grub: Add firmware setup entry
2019-12-12 19:53 ` [bug#38581] [PATCH 1/1] bootloader: grub: Add firmware setup entry Brice Waegeneire
@ 2019-12-23 8:32 ` Danny Milosavljevic
0 siblings, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2019-12-23 8:32 UTC (permalink / raw)
To: Brice Waegeneire; +Cc: 38581
[-- Attachment #1: Type: text/plain, Size: 86 bytes --]
Thanks!
Pushed to guix master as commit b0d09586b1092ad15496ed08bb7631eaa8dc9a86.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-23 8:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 19:53 [bug#38580] [PATCH 0/1] Start BIOS setup from GRUB Brice Waegeneire
2019-12-12 19:53 ` [bug#38581] [PATCH 1/1] bootloader: grub: Add firmware setup entry Brice Waegeneire
2019-12-23 8:32 ` Danny Milosavljevic
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).