RFC: Fix grub detection on SuSE systems: config file order
SuSE sytems ship with a /etc/grub.conf that is not your regular grub
configuration file, but instead a sequence of grub commands. Example: setup --stage2=/boot/grub/stage2 --force-lba (hd0,1) (hd0,1) quit Because of that, the parsing of the config fails. So, try to first use the grub config file at /boot/grub/menu.lst. Signed-off-by: Cleber Rosa <crosa@redhat.com> --- grubby.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/grubby.c b/grubby.c index c664387..39d7846 100644 --- a/grubby.c +++ b/grubby.c @@ -174,8 +174,8 @@ struct keywordTypes grubKeywords[] = { const char *grubFindConfig(struct configFileInfo *cfi) { static const char *configFiles[] = { - "/etc/grub.conf", "/boot/grub/menu.lst", + "/etc/grub.conf", NULL }; static int i = -1; -- 1.7.6.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 11:28 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.