On Tue, Jun 12, 2007 at 03:54:12PM +0200, Robert Millan wrote:
>
> Is there any reason why grub_prefix is in boot.img rather than core.img ?
>
> This brings problems when the following conditions are met:
>
> - core.img is loaded directly without boot.img (via GRUB Legacy)
> - grub is not in
adrian15 <[EMAIL PROTECTED]> writes:
> If you take a look at search.c you can see that the -s parametrer is
> checked outside the command thanks to the ARG_TYPE_STRING constant.
>
> {"set", 's', GRUB_ARG_OPTION_OPTIONAL, "set a variable to the first
> device found", "VAR", ARG_TYPE_STRING}
>
>
> I
adrian15 <[EMAIL PROTECTED]> writes:
> Robert Millan escribió:
>> On Tue, Jun 12, 2007 at 01:57:11PM +0200, adrian15 wrote:
>>> Hi,
>>>
>>> I want to implement the pause command so that it is the same thing as
>>> the echo command with all of its options and also that it stops.
>> I don't know
Changelog for this update:
* Include Robert Millan's patch
* Handle a rare situation where $BITMAP attribute is non-resident
* Misc fixes
--
Bean <[EMAIL PROTECTED]>
2007-06-12 Bean <[EMAIL PROTECTED]>
* conf/common.rmk (pkgdata_MODULES): Add ntfs.mod.
* conf/powerpc-ieee1275
Robert Millan escribió:
On Tue, Jun 12, 2007 at 01:57:42PM +0200, adrian15 wrote:
This code from: normal/command.c
/* Enable the pager if the environment pager is set to 1. */
if (interactive)
pager = grub_env_get ("pager");
else
pager = 0;
if (pager && (! grub_strcmp (pager, "
Robert Millan escribió:
On Tue, Jun 12, 2007 at 01:57:11PM +0200, adrian15 wrote:
Hi,
I want to implement the pause command so that it is the same thing as
the echo command with all of its options and also that it stops.
I don't know how to call other commands, but in this case, maybe
Robert Millan escribió:
Look at how other commands are hooked in. rgrep(1) is your friend :-)
I already did that and it seemed to me to complicated to add a simple
command compared to grub legacy.
That's why I asked, I'll try with Alex Roman suggestion.
adrian15
_
Does anyone have some vim rules for editing on GRUB 2?
I've noticed some files use both tabs and spaces for indentation, so
I'm not sure which to use to please everyone (or most people?)... Also
how many spaces should be used for indentation?
Thanks in advance!
--
Alex Roman <[EMAIL PROTECTED]>
On Tue, Jun 12, 2007 at 01:57:42PM +0200, adrian15 wrote:
> This code from: normal/command.c
>
> /* Enable the pager if the environment pager is set to 1. */
> if (interactive)
> pager = grub_env_get ("pager");
> else
> pager = 0;
> if (pager && (! grub_strcmp (pager, "1")))
>
On 12/06/07, adrian15 <[EMAIL PROTECTED]> wrote:
Once I write a new command like map.c or pause.c how am I supposed to
add it to the standard grub?
Should I write the makefiles manually?! or should I use some of the .sh
files at the grub2 source code root folder?
I've been editi
On Tue, Jun 12, 2007 at 01:57:11PM +0200, adrian15 wrote:
> Hi,
>
> I want to implement the pause command so that it is the same thing as
> the echo command with all of its options and also that it stops.
>
> My first approach which I could not compile because I do not how to
>
On Tue, Jun 12, 2007 at 01:56:52PM +0200, adrian15 wrote:
> Once I write a new command like map.c or pause.c how am I supposed to
> add it to the standard grub?
> Should I write the makefiles manually?! or should I use some of the
> .sh
> files at the grub2 source code root folde
On Tue, Jun 12, 2007 at 11:14:33PM +1200, Centurion Computer Technology (2005)
Ltd wrote:
> On Mon, 2007-06-11 at 20:13 +0200, Robert Millan wrote:
> > > On the GRUB menu apart from the regular entries there is also a
> > > chainload to GRUB 2. When I enter that I get a menu similar to GRUB
> > >
Is there any reason why grub_prefix is in boot.img rather than core.img ?
This brings problems when the following conditions are met:
- core.img is loaded directly without boot.img (via GRUB Legacy)
- grub is not in /boot/grub (typicaly, when /boot is a separate partition)
If grub_prefix is
Hi,
I want to implement the pause command so that it is the same thing as
the echo command with all of its options and also that it stops.
My first approach which I could not compile because I do not how to add
a new command to grub2 is the following one:
char key;
if (argc
If you take a look at search.c you can see that the -s parametrer is
checked outside the command thanks to the ARG_TYPE_STRING constant.
{"set", 's', GRUB_ARG_OPTION_OPTIONAL, "set a variable to the first
device found", "VAR", ARG_TYPE_STRING}
If I want not to check if an argument command that
This code from: normal/command.c
/* Enable the pager if the environment pager is set to 1. */
if (interactive)
pager = grub_env_get ("pager");
else
pager = 0;
if (pager && (! grub_strcmp (pager, "1")))
grub_set_more (1);
Can anyone confirm my suspictions that even the pager
Once I write a new command like map.c or pause.c how am I supposed to
add it to the standard grub?
Should I write the makefiles manually?! or should I use some of the .sh
files at the grub2 source code root folder?
adrian15
___
Grub-
If you check the man pages of some linux commands you will see that
there is a place where it talks about ENVIRONMENT VARIABLES or something
similar where it describes some variables than can modify the way a
command works.
As long as we can "register" the options help like this:
Centurion Computer Technology (2005) Ltd wrote, on 2007-06-12 20:44:
On Mon, 2007-06-11 at 20:13 +0200, Robert Millan wrote:
On the GRUB menu apart from the regular entries there is also a
chainload to GRUB 2. When I enter that I get a menu similar to GRUB
menu but without any entries. Dunno why
On Mon, 2007-06-11 at 20:13 +0200, Robert Millan wrote:
> > On the GRUB menu apart from the regular entries there is also a
> > chainload to GRUB 2. When I enter that I get a menu similar to GRUB
> > menu but without any entries. Dunno why it is there, can anybody
> > explain ?
> >
> > This is jus
21 matches
Mail list logo