On Fri, Aug 17, 2012 at 11:16:08PM -0500, Bruce Dubbs wrote:
> Ken Moffat wrote:
> > On Fri, Aug 17, 2012 at 12:52:40PM -0500, Bruce Dubbs wrote:
>
> I'm rerunning a full build right now. I intended to check all tests,
> but it's not done yet. I did leave /etc/localtime set at GMT, but in
> some cases have set 'TZ=UTC0 make check' or a variation.
>
> We probably should be doing the zone date the same as Debian, but TZ
> should override /etc/localtime.
>
> This seems to be one of the more complex upgrades to LFS in some time.
> I don't know if glibc did us a favor or not.
>
> -- Bruce
>
With the the zone data done like Debian, I now have the following
results:
e2fsprogs-1.42.5
125 tests succeeded 0 tests failed
Testsuite summary for GNU coreutils 8.17
============================================================================
# TOTAL: 316
# PASS: 295
# SKIP: 21
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
perl-5.16.1
All tests successful.
patch-2.6.1
All tests succeeded!
Which (I think) fixes all the failures related to timezones.
What I'm doing (reformatted to fit into 70 columns) is:
mkdir -pv /usr/share/zoneinfo/{posix,right}
for tz in etcetera southamerica northamerica europe africa \
antarctica asia australasia backward pacificnew solar87 \
solar88 solar89 systemv; do
zic -L /dev/null -d /usr/share/zoneinfo -y "sh yearistype.sh" \
${tz} &&
zic -L /dev/null -d /usr/share/zoneinfo/posix -y "sh \
yearistype.sh" ${tz} &&
zic -L leapseconds -d /usr/share/zoneinfo/right -y "sh \
yearistype.sh" ${tz}
done &&
cp -v *.tab /usr/share/zoneinfo &&
zic -d /usr/share/zoneinfo -p America/New_York
i.e. create the posix and right directories, then run zic three
times in each loop, and finally create the posixrules file.
I can fix this up in the book if that's OK with everyone ?
Separately, and after that, I would like to move tzdata and
creating /etc/localtime to a new section immediately after glibc :
1. the glibc section installs glibc and the locales, then does
configuring i.e. nsswitch and ld.so.conf
2. the tzdata installs the zones and posixrules, then has a
configuring section to set /etc/localtime.
My reason for this is that whenever your TZ rules need to be
updated, you can then just drop in the new rules and recreate
/etc/localtime [ not sure if running processes will be affected ? I
suppose I could test that on a desktop by just changing
/etc/localtime ? ]. So, we could point this out in the explanation.
Opinions about splitting tzdata to a new page ?
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page