Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xen
23999-pygrub-grub2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 23999-pygrub-grub2.patch of Package xen
# HG changeset patch # User Michael Young <m.a.young@durham.ac.uk> # Date 1319566729 -3600 # Node ID 138f707fa598340749a70a79748b01dff850b8f2 # Parent 85d7b207fabcd1cbda8f93e3937c5990f42a2cf9 pygrub: look in /boot/grub2 (for eg Fedora 16) Fedora 16 puts grub configuration files in /boot/grub2/grub.cfg so pygrub should look there as well Signed-off-by: Michael Young <m.a.young@durham.ac.uk> Acked-by: Ian Campbell <ian.campbell@citrix.com> diff -r 85d7b207fabc -r 138f707fa598 tools/pygrub/src/pygrub --- a/tools/pygrub/src/pygrub Tue Oct 25 19:15:54 2011 +0100 +++ b/tools/pygrub/src/pygrub Tue Oct 25 19:18:49 2011 +0100 @@ -395,7 +395,8 @@ ["/efi/boot/elilo.conf", "/elilo.conf",]) else: cfg_list = map(lambda x: (x,grub.GrubConf.Grub2ConfigFile), - ["/boot/grub/grub.cfg", "/grub/grub.cfg"]) + \ + ["/boot/grub/grub.cfg", "/grub/grub.cfg", + "/boot/grub2/grub.cfg", "/grub2/grub.cfg"]) + \ map(lambda x: (x,grub.ExtLinuxConf.ExtLinuxConfigFile), ["/boot/isolinux/isolinux.cfg", "/boot/extlinux.conf"]) + \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor