Update to support f18 grub2 efi config file
F18 switch to use grub2 for efi booting, add the config files to bootloaders array. Tested with F18 alpha. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
		
							parent
							
								
									4ff4287ce7
								
							
						
					
					
						commit
						db95ae35e8
					
				| @ -55,11 +55,13 @@ class moduleClass(Module): | |||||||
| 	reboot = False | 	reboot = False | ||||||
| 
 | 
 | ||||||
| 	# possible bootloaders we'll need to adjust | 	# possible bootloaders we'll need to adjust | ||||||
| 	# todo: f18 grub2 for efi |  | ||||||
| 	#			 bootloader : (config file, kdump offset) | 	#			 bootloader : (config file, kdump offset) | ||||||
| 	bootloaders = { "grub"   : (["/boot/grub/grub.conf", "/boot/efi/EFI/redhat/grub.conf"], [16, 256]), | 	bootloaders = { "grub"   : (["/boot/grub/grub.conf", \ | ||||||
| 					"grub2"   : (["/boot/grub2/grub.cfg"], [16, 256]), | 				"/boot/efi/EFI/redhat/grub.conf"], [16, 256]),\ | ||||||
| 					"zipl" : (["/etc/zipl.conf"], [0]), | 			"grub2"   : (["/boot/grub2/grub.cfg", \ | ||||||
|  | 				"/boot/efi/EFI/fedora/grub.cfg", \ | ||||||
|  | 				"/boot/efi/EFI/redhat/grub.cfg"], [16, 256]),\ | ||||||
|  | 			"zipl" : (["/etc/zipl.conf"], [0]),\ | ||||||
| 			"yaboot" : (["/boot/etc/yaboot.conf"], [32]) } | 			"yaboot" : (["/boot/etc/yaboot.conf"], [32]) } | ||||||
| 	bootloader = None | 	bootloader = None | ||||||
| 	offset = 0 | 	offset = 0 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user