Chameleon

Chameleon Commit Details

Date:2011-07-29 20:31:38 (7 years 11 months ago)
Author:mozo
Commit:1233
Parents: 1232
Message:Boot from software Raid0 volumes fix for Lion
Changes:
M/branches/mozodojo/i386/boot2/boot.c

File differences

branches/mozodojo/i386/boot2/boot.c
606606
607607
608608
609
609
610
611
612
613
614
615
616
610617
611618
612619
......
622629
623630
624631
625
632
626633
627634
628635
verbose("Kernel cache did not load %s\n ", bootFile);
}
bootFile = bootInfo->bootFile;
if (checkOSVersion("10.7"))
{
bootFile = gBootKernelCacheFile;
}
else
{
sprintf(bootFile, "\%s", bootInfo->bootFile);
}
// Try to load kernel image from alternate locations on boot helper partitions.
sprintf(bootFileSpec, "com.apple.boot.P%s", bootFile);
if (ret == -1)
{
// No alternate location found, using the original kernel image path.
strcpy(bootFileSpec, bootFile);
strcpy(bootFileSpec, bootInfo->bootFile);
}
}
}

Archive Download the corresponding diff file

Revision: 1233