* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Add ieee1275/

prefix.
	(grub_ofdisk_open): Check and discard ieee1275 prefix.
	* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname):
	Add ieee1275 prefix.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-24 02:40:18 +01:00
parent ca74c50c0b
commit 9197b0ade5
3 changed files with 12 additions and 4 deletions

View file

@ -446,7 +446,7 @@ grub_ieee1275_encode_devname (const char *path)
/* GRUB partition 1 is OF partition 0. */
partno++;
encoding = grub_xasprintf ("%s,%d", device, partno);
encoding = grub_xasprintf ("ieee1275/%s,%d", device, partno);
}
else
encoding = grub_strdup (device);