[kexec-tools] grub2 fix in firstboot
Dave Young
yangrr at fedoraproject.org
Thu Aug 9 02:48:32 UTC 2012
commit 36ece6081d2e344799ef59a12846fb2e208e9cc5
Author: Dave Young <dyoung at redhat.com>
Date: Thu Aug 9 10:22:50 2012 +0800
grub2 fix in firstboot
Resolves: bz805782
Update to use grub2, also update the config file names
Signed-off-by: Dave Young <dyoung at redhat.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
firstboot_kdump.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/firstboot_kdump.py b/firstboot_kdump.py
index 59c6709..76bcd83 100755
--- a/firstboot_kdump.py
+++ b/firstboot_kdump.py
@@ -55,8 +55,10 @@ class moduleClass(Module):
reboot = False
# possible bootloaders we'll need to adjust
+ # todo: f18 grub2 for efi
# bootloader : (config file, kdump offset)
bootloaders = { "grub" : (["/boot/grub/grub.conf", "/boot/efi/EFI/redhat/grub.conf"], [16, 256]),
+ "grub2" : (["/boot/grub2/grub.cfg"], [16, 256]),
"yaboot" : (["/boot/etc/yaboot.conf"], [32]),
"elilo" : (["/boot/efi/EFI/redhat/elilo.conf"], [256]) }
bootloader = None
More information about the scm-commits
mailing list