setting system clock

Arjan sw-lfs at el-c.xs4all.nl
Fri Nov 9 16:30:09 MST 2007


Alexander E. Patrakov wrote:
> I have two questions about the setclock script.
[...]
> 2) With the hardware clock in UTC, the bootscript executes "hwclock 
> --hctosys --utc", however, "strace -e open hwclock --hctosys --utc" 
> indicates that the /usr/share/zoneinfo/Universal file is also being 
> opened. However, the setclock script runs before mounting /usr. Is this 
> a problem? (with --localtime, it doesn't open any files from /usr).

Maybe you could skip running the setclock script at bootup when the
kernel is compiled with CONFIG_RTC_HCTOSYS enabled?



More information about the lfs-dev mailing list