|
发表于 2010-1-15 18:55:34
|
显示全部楼层
Post by dacheng;2064297
谢谢simon22543,原来initrd也可以去掉啊,让我吃了一惊。谢谢d00m3d,下次我试试LZMA。我现在已经到2.8M了。最郁闷的是快8小时的问题始终没有解决。我已经编译了5次了,每次1.5小时啊,要疯了。。。
I do not believe it is a problem with the new kernel.
If your output from the date command is 8 hrs ahead, it should be something incorrect with the time zone or localtime.
Try the followings:
One way to determine the local time zone, run the following script:
[QUOTE]tzselect
After answering a few questions about the location, the script will output the name of the time zone (e.g., America/Edmonton). There are also some other possible timezones listed in /usr/share/zoneinfo such as Canada/Eastern or EST5EDT that are not identified by the script but can be used.
Then create the /etc/localtime file by running:
cp -v --remove-destination /usr/share/zoneinfo/<xxx> \
/etc/localtime
Replace <xxx> with the name of the time zone selected (e.g., Canada/Eastern).
The meaning of the cp option:
--remove-destination
This is needed to force removal of the already existing symbolic link. The reason for copying the file instead of using a symlink is to cover the situation where /usr is on a separate partition. This could be important when booted into single user mode.[/QUOTE]
The above is excerpted from the LFS handbook
http://mirror.vtx.ch/lfs/view/development/chapter06/glibc.html
I always correct the system localtime with the above commands. |
|