GNU bug report logs - #70892
[PATCH 0/6] Add visionfive2 support.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Sun, 12 May 2024 11:01:01 UTC

Severity: normal

Tags: patch

Done: Z572 <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 70892 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 70892 <at> debbugs.gnu.org
Subject: [PATCH 2/6] image: raise error when use both grub-efi* bootloader and
 not gpt image.
Date: Sun, 12 May 2024 19:09:25 +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





This bug report was last modified 1 year and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.