|
From: Andrzej O. <an...@ma...> - 2010-03-29 11:25:17
|
Hi, Behavior I observed is typical, when timezone in build environment is not set correctly. But As for now, I don't know, who (which package) is source of this. Builds I'm doing on DL (without of grsec ofcourse). But i think, source of problem is not in base system. After chrooting, there is executed /root/.bash_profile and there is set timezone by zic. After chrooting command 'date' is working correctly. But immediatelly before Linux kernel is to be build, "date" is working incorrectly: > root:/build# date > Mon Mar 29 11:05:40 Local time zone must be set--see zic manual page 2010 so version is set incorrectly as mkcompile_h script used in kernel build process to create compile.h header with defined kernel version string uses "date" command to insert date into kernel version string. Because of this after booting built system I obtain: > root:~ # uname -v > #1 SMP Sun Mar 28 02:06:17 Local time zone must be set--see zic I don't know, who (which package in his build process) destroys settings of timezone (/etc/timezone file?). TIMEZONE variable is set coorectly. And after calling zic again all is coorect. I patch for my needs linux script, setting here again timezone by zic. But maybe You know better place to do it. Best regards -- Andrzej Odyniec |