Ticket #3496: localtime.patch

File localtime.patch, 1.3 KB (added by Chris Staub, 10 years ago)
  • trunk/BOOK/chapter06/glibc.xml

     
    336336    <para>Then create the <filename>/etc/localtime</filename> file by
    337337    running:</para>
    338338
    339 <screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
     339<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
    340340    /etc/localtime</userinput></screen>
    341341
    342342    <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
    343343    time zone selected (e.g., Canada/Eastern).</para>
    344344
    345     <variablelist>
    346       <title>The meaning of the cp option:</title>
    347 
    348       <varlistentry>
    349         <term><parameter>--remove-destination</parameter></term>
    350         <listitem>
    351           <para>This is needed to force removal of the already existing symbolic
    352           link. The reason for copying the file instead of using a symlink is to
    353           cover the situation where <filename class="directory">/usr</filename>
    354           is on a separate partition. This could be important when booted into
    355           single user mode.</para>
    356         </listitem>
    357       </varlistentry>
    358 
    359     </variablelist>
    360 
    361345  </sect2>
    362346
    363347  <sect2 id="conf-ld" role="configuration">