GNU bug report logs -
#73202
[PATCH] Preparation for bootloader rewrite.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Thu, 12 Sep 2024 17:00:02 UTC
Severity: normal
Tags: patch
Fix blocked by 69343: [PATCH 00/12] Simplify bootloader data structures and procedures
Full log
View this message in rfc822 format
From: Lilah Tascheter <lilah <at> lunabee.space>
* gnu/system/boot.scm (boot-alternative->menu-entry): New procedure.
Change-Id: Id68fb3d39e6d9aca9267f3884cf54f2e7a08b353
---
gnu/system/boot.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/system/boot.scm b/gnu/system/boot.scm
index 8a183ebe3a..2040984cbf 100644
--- a/gnu/system/boot.scm
+++ b/gnu/system/boot.scm
@@ -81,6 +81,7 @@ (define-module (gnu system boot)
epoch->date-string
decorated-boot-label
boot-parameters->menu-entry
+ boot-alternative->menu-entry
ensure-not-/dev
system-linux-image-file-name))
@@ -347,6 +348,9 @@ (define (boot-parameters->menu-entry conf)
(boot-parameters-multiboot-modules conf)
'())))))
+(define boot-alternative->menu-entry
+ (compose boot-parameters->menu-entry boot-alternative-parameters))
+
(define (ensure-not-/dev device)
"If DEVICE starts with a slash, return #f. This is meant to filter out
Linux device names such as /dev/sda, and to preserve GRUB device names and
--
2.45.2
This bug report was last modified 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.