From: James Jarvis <James.Jarvis@ed.ac.uk>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: echo and hello bug
Date: Tue, 16 Jun 2009 15:09:32 +0100 [thread overview]
Message-ID: <4A37A79C.4020106@ed.ac.uk> (raw)
In-Reply-To: <d7ead6de0906090801l60bdce24sc113eb0d9af08c42@mail.gmail.com>
Vladimir 'phcoder' Serbinenko wrote:
>> tried this module list in grub-mkimage on 2282 but it hung!
>>
> I think you have a problem with you building system. If you want ping
> me (phcoder) on IRC and I'll compile for you
>
Shamed me into looking deeper! I discover that by listing hello and echo
first in the grub-mkimage command they both work as expected. Not sure
why this occurs - is there a file detailing module dependencies one can
look at?
Anyway, whilst looking through the code I did spot a semantic error, fix
shown in this patch:
Index: echo.c
===================================================================
--- echo.c (revision 2331)
+++ echo.c (working copy)
@@ -113,7 +113,7 @@
GRUB_MOD_INIT(echo)
{
cmd = grub_register_extcmd ("echo", grub_cmd_echo,
GRUB_COMMAND_FLAG_BOTH,
- "echo [-e|-n] FILE", "Display a line of
text.",
+ "echo [-e|-n] STRING", "Display a line of
text.",
options);
}
James
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
next prev parent reply other threads:[~2009-06-16 14:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-08 11:34 echo and hello bug James Jarvis
2009-06-08 11:42 ` Vladimir 'phcoder' Serbinenko
2009-06-08 13:39 ` James Jarvis
2009-06-09 3:47 ` Peter Cros
2009-06-09 14:43 ` James Jarvis
2009-06-09 15:01 ` Vladimir 'phcoder' Serbinenko
2009-06-16 14:09 ` James Jarvis [this message]
2009-06-16 16:07 ` Felix Zielcke
2009-06-16 16:34 ` Vladimir 'phcoder' Serbinenko
2009-06-17 15:24 ` James Jarvis
2009-06-17 16:07 ` Vladimir 'phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A37A79C.4020106@ed.ac.uk \
--to=james.jarvis@ed.ac.uk \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.