mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2006-04-25 Hollis Blanchard <hollis@penguinppc.org>
* kern/powerpc/ieee1275/init.c (grub_machine_set_prefix): Do not clobber "prefix", since we may have already set it manually.
This commit is contained in:
1 parent
71538dff79
commit
1885bb2790
2 files changed
+9
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2006-04-25 Hollis Blanchard <hollis@penguinppc.org>
|
||||
|
||||
* kern/powerpc/ieee1275/init.c (grub_machine_set_prefix): Do not
|
||||
clobber "prefix", since we may have already set it manually.
|
||||
|
||||
2006-04-25 Hollis Blanchard <hollis@penguinppc.org>
|
||||
|
||||
* kern/misc.c (abort): New alias for grub_abort.
|
||||
|
||||
@@ -69,6 +69,10 @@ grub_machine_set_prefix (void)
|
||||
char *filename;
|
||||
char *prefix;
|
||||
|
||||
if (grub_env_get ("prefix"))
|
||||
/* We already set prefix in grub_machine_init(). */
|
||||
return;
|
||||
|
||||
if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootpath", &bootpath,
|
||||
sizeof (bootpath), 0))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user