[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Warning if grub.cfg not found
From: |
Carles Pina i Estany |
Subject: |
[PATCH] Warning if grub.cfg not found |
Date: |
Sat, 23 Aug 2008 16:43:14 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi,
I send attached a patch that shows a warning when Grub it's falling back
to the command line if grub.cfg is not found (so user knows why the menu
is not showed).
I'm not 100% that this is the best way to handle it, mainly because I'm
not used about the Grub execution workflow. The changes are:
a) in normal/main.c, grub_normal_execute I've changed grub_cmdline_run
(nested) by grub_cmdlin_run (-1) (I don't see any bad consequence of it)
b) in normal/cmdline.c in grub_cmdline_run if I receive a nested == -1 I
show the warning
Any better way to do it? Or I will write the ChangeLog.
Thanks,
PS: warning_with_function_names.patch includes the function names that
I've changed.
--
Carles Pina i Estany GPG id: 0x17756391
http://pinux.info
warning.patch
Description: Text Data
warning_with_function_names.patch
Description: Text Data
- [PATCH] Warning if grub.cfg not found,
Carles Pina i Estany <=