Ignore:
Timestamp:
Sep 13, 2006, 2:25:02 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
056acae
Parents:
210c906
Message:

Change the text in the top of the perl instructions so that you only set the hostname and bring the loopback device up if you've followed the boot method.
Only show those notes on the first perl build - No need to set the hostname to clfs twice on multilib builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/perl.xml

    r210c906 rd73cf0a  
    3333    -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH</userinput></screen>
    3434
    35     <para os="a00">Before starting to configure, create a basic
     35    <note os="a00">
     36      <para>If you are following the boot method you will need to enable the
     37      loopback device as well as set a hostname for some of the tests:</para>
     38
     39      <screen><userinput>ip link set lo up
     40hostname clfs</userinput></screen>
     41    </note>
     42
     43    <para os="a01">Before starting to configure, create a basic
    3644    <filename>/etc/hosts</filename> file which will be referenced in one
    3745    of Perl's configuration files as well as being used used by the testsuite
    3846    if you run that:</para>
    3947
    40 <screen os="a01"><userinput>echo "127.0.0.1 localhost clfs" &gt; /etc/hosts</userinput></screen>
    41 
    42     <para os="a02">We also have to enable the loopback interface, this
    43     will prevent some perl networking testsuite failures:</para>
    44 
    45 <screen os="a03"><userinput>ip link set lo up</userinput></screen>
    46 
    47     <para os="a04">We also have to set the hostname for some of the
    48     test:</para>
    49 
    50 <screen os="a05"><userinput>hostname clfs</userinput></screen>
     48<screen os="a02"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    5149
    5250    <para os="a">To have full control over the way Perl is set up, you can
Note: See TracChangeset for help on using the changeset viewer.