# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267799965 0
# Node ID 87ed57b6e4cd60ebd98044d7e84168151e49b135
# Parent f0777eafb73b9fdcb2a6174ce4595a0a24c64b01
pygrub: Fix grub2 support when config is on a separate /boot partition
Signed-off-by: David Markey <david@xxxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
tools/pygrub/src/pygrub | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r f0777eafb73b -r 87ed57b6e4cd tools/pygrub/src/pygrub
--- a/tools/pygrub/src/pygrub Fri Mar 05 14:35:44 2010 +0000
+++ b/tools/pygrub/src/pygrub Fri Mar 05 14:39:25 2010 +0000
@@ -384,7 +384,7 @@ class Grub:
["/boot/grub/menu.lst", "/boot/grub/grub.conf",
"/grub/menu.lst", "/grub/grub.conf"]) + \
map(lambda x: (x,grub.GrubConf.Grub2ConfigFile),
- ["/boot/grub/grub.cfg"]) + \
+ ["/boot/grub/grub.cfg", "/grub/grub.cfg"]) + \
map(lambda x: (x,grub.ExtLinuxConf.ExtLinuxConfigFile),
["/boot/isolinux/isolinux.cfg",
"/boot/extlinux.conf"])
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|