Changeset 2a54650


Ignore:
Timestamp:
10/12/2005 10:32:31 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
915b404
Parents:
6e31ef7
Message:

Added support to set the local time zone.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • dump-lfs-scripts.xsl

    r6e31ef7 r2a54650  
    175175  <xsl:template match="replaceable">
    176176    <xsl:choose>
     177      <xsl:when test="ancestor::sect1[@id='ch-system-glibc']">
     178        <xsl:text>$TIMEZONE</xsl:text>
     179      </xsl:when>
    177180      <xsl:when test="ancestor::sect1[@id='ch-system-groff']">
    178181        <xsl:text>$PAGE</xsl:text>
  • functions

    r6e31ef7 r2a54650  
    3333  @echo -e \\t- Set a password for the root user
    3434  @echo
    35   @echo -e \\t- Set your local time zone. See chapter06/glibc.html
    36   @echo
    3735  @echo -e \\t- Edit /etc/fstab, /etc/hosts, /etc/sysconfig/clock,
    3836  @echo -e \\t/etc/sysconfig/console, /etc/sysconfig/network,
  • jhalfs

    r6e31ef7 r2a54650  
    607607    fi
    608608
     609    # For Glibc we need to set TIMEZONE envar.
     610    if [ "$i" = "066-glibc" ] ; then
     611(
     612    cat << EOF
     613        @echo "TIMEZONE=\$(TIMEZONE)" >> envars && \\
     614        echo "export TIMEZONE" >> envars
     615EOF
     616) >> $MKFILE.tmp
     617    fi
     618
    609619    # For Groff we need to set PAGE envar.
    610620    if [ "$i" = "082-groff" ] ; then
     
    782792LFS= $BUILDDIR
    783793PAGE= $PAGE
     794TIMEZONE= $TIMEZONE
    784795
    785796include functions
Note: See TracChangeset for help on using the changeset viewer.