2
This sucks, but it's better than what OFW was giving us.
4
Index: kern/ieee1275/init.c
5
===================================================================
6
--- kern/ieee1275/init.c (revision 2615)
7
+++ kern/ieee1275/init.c (working copy)
13
/* Translate an OF filesystem path (separated by backslashes), into a GRUB
14
path (separated by forward slashes). */
17
backslash = grub_strchr (filepath, '\\');
23
grub_machine_set_prefix (void)
26
char bootpath[64]; /* XXX check length */
31
if (grub_env_get ("prefix"))
32
/* We already set prefix in grub_machine_init(). */
38
+ grub_env_set ("prefix", "(sd,1)/");
40
if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootpath", &bootpath,
41
sizeof (bootpath), 0))
50
/* Claim some available memory in the first /memory node. */