Skip to contentSkip to conversation

PPC executable name

DISCUSSION Hollis Blanchard 3 participants 5 messages May 9, 2005 – May 12, 2005

lore
Share & tools
lore
#0 lore raw

I'd like to rename the PPC executable from "grubof" to "grub". If nothing else, it will avoid the question "is it grubof.cfg or grub.cfg?". Thoughts?

-Hollis

#1 lore raw

Hollis Blanchard [Sun, May 08, 2005 at 10:02:06PM -0500]:

Quoted 3 lines

I'd like to rename the PPC executable from "grubof" to "grub". If nothing else, it will avoid the question "is it grubof.cfg or grub.cfg?". Thoughts?

grub.cfg, as a user I am not interesed it "oh there is openfirmware", but I simply assume:

config = packagename.cfg

and if I know grub(x86) I assume grub(ppc) and grub(sparc) use the same config with similar syntax.

Nico

#2 lore raw
In reply to Hollis Blanchard
Quoted 3 lines · Hollis Blanchard

I'd like to rename the PPC executable from "grubof" to "grub". If nothing else, it will avoid the question "is it grubof.cfg or grub.cfg?". Thoughts?

What I would prefer is _grub or so. To make clear it is not usable just like this. We don't want people loading this file directly. Adding a "_" might make it clear this is a file that is weird in a way and users should not use it directly. The name `grubof' is not *that* bad either. People do not use it directly, right?

For any arch the config file should be called grub.cfg, IMO.

Thanks,
Marco

#3 lore raw

Marco Gerards [Tue, May 10, 2005 at 08:03:57PM +0200]:

Quoted 6 lines
Quoted 3 lines · Hollis Blanchard

I'd like to rename the PPC executable from "grubof" to "grub". If nothing else, it will avoid the question "is it grubof.cfg or grub.cfg?". Thoughts?

Quoted 7 lines

What I would prefer is _grub or so. To make clear it is not usable just like this. We don't want people loading this file directly. Adding a "_" might make it clear this is a file that is weird in a way and users should not use it directly. The name `grubof' is not *that* bad either. People do not use it directly, right?

For any arch the config file should be called grub.cfg, IMO.

Oh, I misunderstood hollis, if that's true. I thought grubof will later be the 'call it with a configuration, wait some seconds, and grub is installed'-tool.

Btw, what will the way you advise,
a) like yaboot, mount the bootstrap partiton only when writing config
b) or mount it as /boot, modifiy grub.cfg on it?

I would like the later option, because as far as I understood, making changes to grub.cfg does not need any command execution, as grub (the binary, which can be loaded by of) didn't change.

Or is this assumption wrong?

Nico

Signature · 3 lines
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org
#4 lore raw
Quoted 7 lines · Nico -telmich- Schottelius

Btw, what will the way you advise,
a) like yaboot, mount the bootstrap partiton only when writing config
b) or mount it as /boot, modifiy grub.cfg on it?

I would like the later option, because as far as I understood, making changes to grub.cfg does not need any command execution, as grub (the binary, which can be loaded by of) didn't change.

Right, this (b) is what I would prefer as well. GRUB loads grub.cfg from the path configured by prefix (a GRUB variable). This variable is set automatically to the place grub (the OF binary) is loaded from, and can be overridden in OF (if Hollis applies his patch).

--
Marco