Author: mcayland Date: Sat Jan 12 18:22:39 2013 New Revision: 1086 URL: http://tracker.coreboot.org/trac/openbios/changeset/1086
Log: mac-parts.c: Add Apple_Bootstrap to partition types considered for Mac boot.
When falling back to Mac rather than CHRP boot, allow Apple_Bootstrap partitions to be considered. This fixes booting from CD images with a New World Apple_Bootstrap partition, such as FreeBSD.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/packages/mac-parts.c
Modified: trunk/openbios-devel/packages/mac-parts.c ============================================================================== --- trunk/openbios-devel/packages/mac-parts.c Fri Jan 11 12:10:07 2013 (r1085) +++ trunk/openbios-devel/packages/mac-parts.c Sat Jan 12 18:22:39 2013 (r1086) @@ -184,6 +184,7 @@ if (apple_parnum == -1 && (strcmp(par.pmPartType, "Apple_Boot") == 0 || + strcmp(par.pmPartType, "Apple_Bootstrap") == 0 || strcmp(par.pmPartType, "Apple_HFS") == 0 || strcmp(par.pmPartType, "DOS_FAT_") == 0)) { apple_parnum = i;