Message ID | ebcc2b453cf2a233142da4e803aae45574f65de0.1716054087.git.zhengjunjie@iscas.ac.cn |
---|---|
State | New |
Headers | show |
Series | Add visionfive2 support. | expand |
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"))))