Changeset d73cf0a


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.

Location:
BOOK/final-system
Files:
4 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
  • BOOK/final-system/multilib/perl-64bit.xml

    r210c906 rd73cf0a  
    4545
    4646<screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen>
    47 
    48     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    49     href="../common/perl.xml"
    50     xpointer="xpointer(//*[@os='a00'])"/>
    51 
    52     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    53     href="../common/perl.xml"
    54     xpointer="xpointer(//*[@os='a01'])"/>
    55 
    56     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    57     href="../common/perl.xml"
    58     xpointer="xpointer(//*[@os='a02'])"/>
    59 
    60     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    61     href="../common/perl.xml"
    62     xpointer="xpointer(//*[@os='a03'])"/>
    63 
    64     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    65     href="../common/perl.xml"
    66     xpointer="xpointer(//*[@os='a04'])"/>
    67 
    68     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    69     href="../common/perl.xml"
    70     xpointer="xpointer(//*[@os='a05'])"/>
    7147
    7248    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/perl-n32.xml

    r210c906 rd73cf0a  
    4848
    4949<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>
    50 
    51     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    52     href="../common/perl.xml"
    53     xpointer="xpointer(//*[@os='a00'])"/>
    54 
    55     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    56     href="../common/perl.xml"
    57     xpointer="xpointer(//*[@os='a01'])"/>
    58 
    59     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    60     href="../common/perl.xml"
    61     xpointer="xpointer(//*[@os='a02'])"/>
    62 
    63     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    64     href="../common/perl.xml"
    65     xpointer="xpointer(//*[@os='a03'])"/>
    66 
    67     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    68     href="../common/perl.xml"
    69     xpointer="xpointer(//*[@os='a04'])"/>
    70 
    71     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    72     href="../common/perl.xml"
    73     xpointer="xpointer(//*[@os='a05'])"/>
    7450
    7551    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/perl.xml

    r210c906 rd73cf0a  
    4242    href="../common/perl.xml"
    4343    xpointer="xpointer(//*[@os='a02'])"/>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/perl.xml"
    47     xpointer="xpointer(//*[@os='a03'])"/>
    48 
    49     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    50     href="../common/perl.xml"
    51     xpointer="xpointer(//*[@os='a04'])"/>
    52 
    53     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    54     href="../common/perl.xml"
    55     xpointer="xpointer(//*[@os='a05'])"/>
    5644
    5745    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.