diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/coreutils.xml | 5 | ||||
-rw-r--r-- | chapter06/glibc.xml | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 1b0906cec..f0cd87452 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -103,9 +103,8 @@ <screen><userinput remap="test">chown -Rv nobody . </userinput></screen> - <para>Now run the tests. One test case, test-parse-datetime, will - fail because the regression test has not been updated for the latest - time zone data.</para> + <para>Now run the tests. Make sure the PATH in the <userinput>su</userinput> + environment includes /tools/bin.</para> <screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 11dc4f44c..7e86ba5fd 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -316,12 +316,14 @@ EOF</userinput></screen> <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 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} && + 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 zone.tab /usr/share/zoneinfo && zic -d /usr/share/zoneinfo -p America/New_York</userinput></screen> |