[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73202] [PATCH v2 14/15] gnu: system: boot: Add procedure.
From: |
Herman Rimm |
Subject: |
[bug#73202] [PATCH v2 14/15] gnu: system: boot: Add procedure. |
Date: |
Fri, 20 Sep 2024 12:37:59 +0200 |
From: Lilah Tascheter <lilah@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
- [bug#73202] [PATCH v2 03/15] gnu: tests: reconfigure: Remove bootloader install test., (continued)
- [bug#73202] [PATCH v2 03/15] gnu: tests: reconfigure: Remove bootloader install test., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 11/15] gnu: build: bootloader: Add efi-bootnums procedure., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 08/15] gnu: bootloader: Add bootloader-target record and infastructure., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 06/15] guix: utils: Add flatten and flat-map from haunt., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 10/15] gnu: bootloader: Add device-subvol field to menu-entry record., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 12/15] gnu: bootloader: Install any bootloader to ESP., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 05/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 07/15] guix: records: Add wrap-element procedure., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 15/15] teams: Add bootloading team., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 13/15] gnu: bootloader: Match records outside the module., Herman Rimm, 2024/09/20
- [bug#73202] [PATCH v2 14/15] gnu: system: boot: Add procedure.,
Herman Rimm <=
- [bug#73202] [PATCH v2 00/15] Preparation for bootloader rewrite., Herman Rimm, 2024/09/21
- [bug#73202] [PATCH v3 01/14] gnu: bootloader: Remove deprecated bootloader-configuration field., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 02/14] gnu: system: Remove useless boot parameters., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 03/14] gnu: tests: reconfigure: Remove bootloader install test., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 08/14] gnu: bootloader: Add bootloader-target record and infastructure., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 09/14] gnu: bootloader: Add bootloader-configurations->gexp., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 06/14] guix: utils: Add flatten and flat-map from haunt., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 07/14] guix: records: Add wrap-element procedure., Herman Rimm, 2024/09/26
- [bug#73202] [PATCH v3 11/14] gnu: build: bootloader: Add efi-bootnums procedure., Herman Rimm, 2024/09/26