Chameleon

Chameleon Commit Details

Date:2012-03-17 03:24:42 (5 years 8 months ago)
Author:Evan Lojewski
Commit:1893
Parents: 1892
Message:Don't use the kernel cache if safe mode or -f is specified
Changes:
M/trunk/i386/boot2/boot.c

File differences

trunk/i386/boot2/boot.c
228228
229229
230230
231
232
233
234
235
236
231237
232238
233239
longflags, time, cachetime, kerneltime, exttime, ret=-1;
unsigned long adler32;
if((gBootMode & kBootModeSafe) == 0)
{
verbose("Kernel Cache ignored\n", kernelCacheFile);
return -1;
}
// Use specify kernel cache file if not empty
if (cacheFile[0] != 0)
strlcpy(kernelCacheFile, cacheFile, sizeof(kernelCacheFile));

Archive Download the corresponding diff file

Revision: 1893