Chameleon

Chameleon Commit Details

Date:2011-06-01 04:06:51 (12 years 10 months ago)
Author:Evan Lojewski
Commit:934
Parents: 933
Message:Fix UseKernelCache check, don't run the if code even if it's not yes. Allow loading of mkexts even when using a prelinked kernel (again, requires a patch to xnu)
Changes:
M/trunk/i386/boot2/boot.c

File differences

trunk/i386/boot2/boot.c
155155
156156
157157
158
159
158
160159
161160
162161
......
486485
487486
488487
489
488
490489
491490
492491
execute_hook("DecodedKernel", (void*)binary, NULL, NULL, NULL);
// Load boot drivers from the specifed root path.
if (!gHaveKernelCache)
LoadDrivers("/");
LoadDrivers("/");
clearActivityIndicator();
break;
}
if(getBoolForKey(kUseKernelCache, &usecache, &bootInfo->bootConfig)) {
if(getBoolForKey(kUseKernelCache, &usecache, &bootInfo->bootConfig) && usecache) {
if (getValueForKey(kKernelCacheKey, &val, &len, &bootInfo->bootConfig)) {
strlcpy(gBootKernelCacheFile, val, len+1);
}

Archive Download the corresponding diff file

Revision: 934