Ignore:
Timestamp:
Aug 14, 2014, 2:32:50 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
c02c97a
Parents:
4b96748f
git-author:
Chris Staub <chris@…> (08/14/14 02:27:23)
git-committer:
Chris Staub <chris@…> (08/14/14 02:32:50)
Message:

Command to disable test lib is no longer needed

Conflicts:

BOOK/introduction/common/changelog.xml

File:
1 edited

Legend:

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

    r4b96748f r74592cf  
    4040
    4141    <para os="l1">At the end of the installation, the build system will run
    42     a sanity test to make sure everything installed properly. This script will
    43     attempt to test for a library that is only used in the test suite and is
    44     never installed. Prevent the script from testing for this library with the
    45     following command:</para>
    46 
    47 <screen os="l2"><userinput>sed -i 's/\(&amp;&amp; $name ne\) "db1"/ &amp; \1 "nss_test1"/' scripts/test-installation.pl</userinput></screen>
    48 
    49     <para os="l3">This same script performs its tests by attempting to compile
    50     test programs against certain libraries. However it does not specify the
    51     path to <filename class="libraryfile">ld.so</filename>, and our toolchain
     42    a sanity test to make sure everything installed properly. This script
     43    performs its tests by attempting to compile test programs against certain
     44    libraries. However it does not specify the path to
     45    <filename class="libraryfile">ld.so</filename>, and our toolchain
    5246    is still configured to use the one in
    5347    <filename class="directory">/tools</filename>. The following set of
     
    5549    <filename class="libraryfile">ld.so</filename> that was just installed:</para>
    5650
    57 <screen os="l4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
     51<screen os="l2"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
    5852sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
    5953  scripts/test-installation.pl
Note: See TracChangeset for help on using the changeset viewer.