mirror of
				https://git.proxmox.com/git/grub2
				synced 2025-10-31 12:27:02 +00:00 
			
		
		
		
	Use grub-file to figure out whether multiboot2 should be used for Xen.gz
The multiboot2 is much more preferable than multiboot. Especiall if booting under EFI where multiboot does not have the functionality to pass ImageHandler. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
		
							parent
							
								
									a8e0f1adf7
								
							
						
					
					
						commit
						b4d709b6ee
					
				| @ -210,8 +210,13 @@ while [ "x${xen_list}" != "x" ] ; do | ||||
| 	xen_loader="xen_hypervisor" | ||||
| 	module_loader="xen_module" | ||||
|     else | ||||
| 	xen_loader="multiboot" | ||||
| 	module_loader="module" | ||||
| 	if ($grub_file --is-x86-multiboot2 $current_xen); then | ||||
| 	    xen_loader="multiboot2" | ||||
| 	    module_loader="module2" | ||||
| 	else | ||||
| 	    xen_loader="multiboot" | ||||
| 	    module_loader="module" | ||||
|         fi | ||||
|     fi | ||||
|     while [ "x$list" != "x" ] ; do | ||||
| 	linux=`version_find_latest $list` | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Konrad Rzeszutek Wilk
						Konrad Rzeszutek Wilk