[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70892] [PATCH v3 2/7] image: Raise error when use both grub-efi* bo
From: |
Zheng Junjie |
Subject: |
[bug#70892] [PATCH v3 2/7] image: Raise error when use both grub-efi* bootloader and not gpt image. |
Date: |
Sun, 19 May 2024 22:15:26 +0800 |
* gnu/system/image.scm: Switch Inversion logic, it allow we use customize
bootloader with gpt image.
Change-Id: I801327f6e826a37588b8f0f5246ca820e742f721
---
gnu/system/image.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 3082bcff46..b0c96c60f0 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -534,10 +534,10 @@ (define* (system-disk-image image
(image-partition-table-type image)))
(else "")))
- (when (and (gpt-image? image)
+ (when (and (memq (bootloader-name bootloader)
+ '(grub-efi grub-efi32 grub-efi-removable-bootloader))
(not
- (memq (bootloader-name bootloader)
- '(grub-efi grub-efi32 grub-efi-removable-bootloader))))
+ (gpt-image? image)))
(raise
(formatted-message
(G_ "EFI bootloader required with GPT partitioning"))))
--
2.41.0
- [bug#70892] [PATCH v2 1/7] gnu: linux-libre-6.8: add riscv config., (continued)
- [bug#70892] [PATCH v2 3/7] gnu: shepherd-0.10: When target riscv64, use guile-fibers-1.1., Zheng Junjie, 2024/05/18
- [bug#70892] [PATCH v2 5/7] gnu: Add u-boot-starfive-visionfive2., Zheng Junjie, 2024/05/18
- [bug#70892] [PATCH v2 7/7] system: images: Add visionfive2 module., Zheng Junjie, 2024/05/18
- [bug#70892] [PATCH v2 2/7] image: raise error when use both grub-efi* bootloader and not gpt image., Zheng Junjie, 2024/05/18
- [bug#70892] [PATCH v2 4/7] gnu: Add opensbi-for-visionfive2., Zheng Junjie, 2024/05/18
- [bug#70892] [PATCH v2 6/7] bootloader: Add u-boot-starfive-visionfive2-bootloader., Zheng Junjie, 2024/05/18
- [bug#70892] [PATCH v3 0/7] Add visionfive2 support., Zheng Junjie, 2024/05/19
- [bug#70892] [PATCH v3 2/7] image: Raise error when use both grub-efi* bootloader and not gpt image.,
Zheng Junjie <=
- [bug#70892] [PATCH v3 1/7] gnu: linux-libre-6.8: Add riscv config., Zheng Junjie, 2024/05/19
- [bug#70892] [PATCH v3 3/7] gnu: shepherd-0.10: When target riscv64, use guile-fibers-1.1., Zheng Junjie, 2024/05/19
- [bug#70892] [PATCH v3 6/7] bootloader: Add u-boot-starfive-visionfive2-bootloader., Zheng Junjie, 2024/05/19
- [bug#70892] [PATCH v3 4/7] gnu: Add opensbi-for-visionfive2., Zheng Junjie, 2024/05/19
- [bug#70892] [PATCH v3 5/7] gnu: Add u-boot-starfive-visionfive2., Zheng Junjie, 2024/05/19
- [bug#70892] [PATCH v3 7/7] system: images: Add visionfive2 module., Zheng Junjie, 2024/05/19
- bug#70892: [PATCH v3 0/7] Add visionfive2 support., Z572, 2024/05/21