image: Consider grub-efi-removable-bootloader to be EFI bootloader.
Without this change, trying to create a system image with efi-raw type while
using grub-efi-removable-bootloader fails with fairly confusing message:
    EFI bootloader required with GPT partitioning
* gnu/system/image.scm (system-disk-image): Consider
grub-efi-removable-bootloader to be EFI bootloader.
Change-Id: I5f5e1a94e825fd29d6880c5bafb330e16a5ac962
			
			
This commit is contained in:
		
							parent
							
								
									299ce524c9
								
							
						
					
					
						commit
						21989dd57d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -535,7 +535,8 @@ used in the image."
 | 
			
		|||
 | 
			
		||||
    (when (and (gpt-image? image)
 | 
			
		||||
               (not
 | 
			
		||||
                (memq (bootloader-name bootloader) '(grub-efi grub-efi32))))
 | 
			
		||||
                (memq (bootloader-name bootloader)
 | 
			
		||||
                      '(grub-efi grub-efi32 grub-efi-removable-bootloader))))
 | 
			
		||||
      (raise
 | 
			
		||||
       (formatted-message
 | 
			
		||||
        (G_ "EFI bootloader required with GPT partitioning"))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue