2004-10-15 Hollis Blanchard <hollis@penguinppc.org>
* disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): Do not append ":0" to devpath if the GRUB_IEEE1275_NO_PARTITION_0 flag is set in grub_ieee1275_flags.
This commit is contained in:
parent
3891222854
commit
86f4ae2580
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-10-15 Hollis Blanchard <hollis@penguinppc.org>
|
||||||
|
|
||||||
|
* disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): Do not
|
||||||
|
append ":0" to devpath if the GRUB_IEEE1275_NO_PARTITION_0 flag is
|
||||||
|
set in grub_ieee1275_flags.
|
||||||
|
|
||||||
2004-10-14 Hollis Blanchard <hollis@penguinppc.org>
|
2004-10-14 Hollis Blanchard <hollis@penguinppc.org>
|
||||||
|
|
||||||
* include/grub/powerpc/ieee1275/ieee1275.h (abort): Add function
|
* include/grub/powerpc/ieee1275/ieee1275.h (abort): Add function
|
||||||
|
|
|
@ -57,7 +57,9 @@ grub_ofdisk_open (const char *name, grub_disk_t disk)
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
|
|
||||||
/* To access the complete disk add `:0'. */
|
/* To access the complete disk add `:0'. */
|
||||||
grub_strcat (devpath, ":0");
|
if (! (grub_ieee1275_flags & GRUB_IEEE1275_NO_PARTITION_0))
|
||||||
|
grub_strcat (devpath, ":0");
|
||||||
|
|
||||||
grub_ieee1275_open (devpath, &dev_ihandle);
|
grub_ieee1275_open (devpath, &dev_ihandle);
|
||||||
if (! dev_ihandle)
|
if (! dev_ihandle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue