Changeset 4c1c923 for BOOK/final-system


Ignore:
Timestamp:
Apr 2, 2014, 7:27:28 PM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
5c7e6a7
Parents:
72d6a1b
Message:

Add test suite commands and sed for doc install with version.

Location:
BOOK/final-system
Files:
4 edited

Legend:

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

    r72d6a1b r4c1c923  
    2626    <title>Installation of Attr</title>
    2727
    28     <para os="a">Prepare Attr for compilation:</para>
     28    <para os="a">Apply a sed to install the documentation with a versioned
     29    directory:</para>
    2930
    30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     31<screen os="b"><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
    3132
    32     <para os="c">Compile the package:</para>
     33    <para os="c">Prepare Attr for compilation:</para>
    3334
    34 <screen os="d"><userinput>make</userinput></screen>
     35<screen os="d"><userinput>./configure --prefix=/usr</userinput></screen>
    3536
    36     <para os="e">This package does not come with a test suite.</para>
     37    <para os="e">Compile the package:</para>
    3738
    38     <para os="f">Install the package:</para>
     39<screen os="f"><userinput>make</userinput></screen>
    3940
    40 <screen os="g"><userinput>make install install-dev install-lib</userinput></screen>
     41    <para os="g">The tests need to run with a filesystem which supports extended
     42    attributes. Test the results:</para>
    4143
    42     <para os="h">Move the shared library to <filename class="directory">/lib</filename>
    43     and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para>
     44<screen os="h"><userinput remap="test">make -j1 tests root-tests</userinput></screen>
    4445
    45 <screen os="i"><userinput>mv -v /usr/lib/libattr.so.* /lib
     46    <para os="i">Install the package:</para>
     47
     48<screen os="j"><userinput>make install install-dev install-lib</userinput></screen>
     49
     50    <para os="k">Move the shared library to <filename class="directory">/lib
     51    </filename> and recreate the symlink in <filename class="directory">/usr/lib
     52    </filename>:</para>
     53
     54<screen os="l"><userinput>mv -v /usr/lib/libattr.so.* /lib
    4655ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput></screen>
    4756
    48     <para os="j">Set the proper permissions on the shared library:</para>
     57    <para os="m">Set the proper permissions on the shared library:</para>
    4958
    50 <screen os="k"><userinput>chmod 755 -v /lib/libattr.so.1.1.0</userinput></screen>
     59<screen os="n"><userinput>chmod 755 -v /lib/libattr.so.1.1.0</userinput></screen>
    5160
    5261  </sect2>
  • BOOK/final-system/multilib/attr-64bit.xml

    r72d6a1b r4c1c923  
    2323
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    25     href="../common/attr.xml"
    26     xpointer="xpointer(//*[@os='a'])"/>
     25  href="../common/attr.xml"
     26  xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure \
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     29  href="../common/attr.xml"
     30  xpointer="xpointer(//*[@os='b'])"/>
     31
     32  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     33  href="../common/attr.xml"
     34  xpointer="xpointer(//*[@os='c'])"/>
     35
     36<screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure \
    2937    --prefix=/usr --libdir=/lib64 \
    3038    --libexecdir=/usr/lib64</userinput></screen>
    3139
    3240  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    33     href="../common/attr.xml"
    34     xpointer="xpointer(//*[@os='c'])"/>
     41  href="../common/attr.xml"
     42  xpointer="xpointer(//*[@os='e'])"/>
    3543
    3644  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    37     href="../common/attr.xml"
    38     xpointer="xpointer(//*[@os='d'])"/>
     45  href="../common/attr.xml"
     46  xpointer="xpointer(//*[@os='f'])"/>
    3947
    4048  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    41     href="../common/attr.xml"
    42     xpointer="xpointer(//*[@os='e'])"/>
     49  href="../common/attr.xml"
     50  xpointer="xpointer(//*[@os='g'])"/>
    4351
    4452  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    45     href="../common/attr.xml"
    46     xpointer="xpointer(//*[@os='f'])"/>
     53  href="../common/attr.xml"
     54  xpointer="xpointer(//*[@os='h'])"/>
    4755
    4856  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    49     href="../common/attr.xml"
    50     xpointer="xpointer(//*[@os='g'])"/>
     57  href="../common/attr.xml"
     58  xpointer="xpointer(//*[@os='i'])"/>
    5159
    52     <para os="h">Recreate the symlink in <filename class="directory">/usr/lib64</filename> and remove the shared link from <filename class="directory">/lib64</filename>:</para>
     60    <para os="j">Recreate the symlink in <filename class="directory">/usr/lib64
     61    </filename> and remove the shared link from <filename class="directory">
     62    /lib64</filename>:</para>
    5363
    54 <screen os="i"><userinput>
     64  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     65  href="../common/attr.xml"
     66  xpointer="xpointer(//*[@os='k'])"/>
     67
     68<screen os="l"><userinput>
    5569ln -sfv ../../lib64/$(readlink /lib64/libattr.so) /usr/lib64/libattr.so
    5670rm -v /lib64/libattr.so</userinput></screen>
    5771
    5872  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    59     href="../common/attr.xml"
    60     xpointer="xpointer(//*[@os='j'])"/>
     73  href="../common/attr.xml"
     74  xpointer="xpointer(//*[@os='m'])"/>
    6175
    62 <screen os="k"><userinput>chmod 755 -v /lib64/libattr.so.1.1.0</userinput></screen>
     76<screen os="n"><userinput>chmod 755 -v /lib64/libattr.so.1.1.0</userinput></screen>
    6377
    6478  </sect2>
  • BOOK/final-system/multilib/attr-n32.xml

    r72d6a1b r4c1c923  
    2424
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/attr.xml"
    27     xpointer="xpointer(//*[@os='a'])"/>
     26  href="../common/attr.xml"
     27  xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure \
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30  href="../common/attr.xml"
     31  xpointer="xpointer(//*[@os='b'])"/>
     32
     33  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34  href="../common/attr.xml"
     35  xpointer="xpointer(//*[@os='c'])"/>
     36
     37<screen os="d"><userinput>CC="gcc ${BUILDN32}" ./configure \
    3038    --prefix=/usr --libdir=/lib32 \
    3139    --libexecdir=/usr/lib32</userinput></screen>
    3240
    3341  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/attr.xml"
    35     xpointer="xpointer(//*[@os='c'])"/>
     42  href="../common/attr.xml"
     43  xpointer="xpointer(//*[@os='e'])"/>
    3644
    3745  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="../common/attr.xml"
    39     xpointer="xpointer(//*[@os='d'])"/>
     46  href="../common/attr.xml"
     47  xpointer="xpointer(//*[@os='f'])"/>
    4048
    4149  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="../common/attr.xml"
    43     xpointer="xpointer(//*[@os='e'])"/>
     50  href="../common/attr.xml"
     51  xpointer="xpointer(//*[@os='g'])"/>
    4452
    4553  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    46     href="../common/attr.xml"
    47     xpointer="xpointer(//*[@os='f'])"/>
     54  href="../common/attr.xml"
     55  xpointer="xpointer(//*[@os='h'])"/>
    4856
    4957  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    50     href="../common/attr.xml"
    51     xpointer="xpointer(//*[@os='g'])"/>
     58  href="../common/attr.xml"
     59  xpointer="xpointer(//*[@os='i'])"/>
    5260
    53     <para os="h">Recreate the symlink in <filename class="directory">/usr/lib32</filename> and remove the shared link from <filename class="directory">/lib32</filename>:</para>
     61  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     62  href="../common/attr.xml"
     63  xpointer="xpointer(//*[@os='j'])"/>
    5464
    55 <screen os="i"><userinput>
     65    <para os="k">Recreate the symlink in <filename class="directory">/usr/lib32
     66    </filename> and remove the shared link from <filename class="directory">
     67    /lib32</filename>:</para>
     68
     69<screen os="l"><userinput>
    5670ln -sfv ../../lib32/$(readlink /lib32/libattr.so) /usr/lib32/libattr.so
    5771rm -v /lib32/libattr.so</userinput></screen>
    5872
    5973  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    60     href="../common/attr.xml"
    61     xpointer="xpointer(//*[@os='j'])"/>
     74  href="../common/attr.xml"
     75  xpointer="xpointer(//*[@os='m'])"/>
    6276
    63 <screen os="k"><userinput>chmod 755 -v /lib32/libattr.so.1.1.0</userinput></screen>
     77<screen os="n"><userinput>chmod 755 -v /lib32/libattr.so.1.1.0</userinput></screen>
    6478
    6579  </sect2>
  • BOOK/final-system/multilib/attr.xml

    r72d6a1b r4c1c923  
    2424
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/attr.xml"
    27     xpointer="xpointer(//*[@os='a'])"/>
     26  href="../common/attr.xml"
     27  xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure \
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30  href="../common/attr.xml"
     31  xpointer="xpointer(//*[@os='b'])"/>
     32
     33  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34  href="../common/attr.xml"
     35  xpointer="xpointer(//*[@os='c'])"/>
     36
     37<screen os="d"><userinput>CC="gcc ${BUILD32}" ./configure \
    3038    --prefix=/usr --libdir=/lib \
    3139    --libexecdir=/usr/lib</userinput></screen>
    3240
    3341  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/attr.xml"
    35     xpointer="xpointer(//*[@os='c'])"/>
     42  href="../common/attr.xml"
     43  xpointer="xpointer(//*[@os='e'])"/>
    3644
    3745  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="../common/attr.xml"
    39     xpointer="xpointer(//*[@os='d'])"/>
     46  href="../common/attr.xml"
     47  xpointer="xpointer(//*[@os='f'])"/>
    4048
    4149  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="../common/attr.xml"
    43     xpointer="xpointer(//*[@os='e'])"/>
     50  href="../common/attr.xml"
     51  xpointer="xpointer(//*[@os='g'])"/>
    4452
    4553  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    46     href="../common/attr.xml"
    47     xpointer="xpointer(//*[@os='f'])"/>
     54  href="../common/attr.xml"
     55  xpointer="xpointer(//*[@os='h'])"/>
    4856
    4957  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    50     href="../common/attr.xml"
    51     xpointer="xpointer(//*[@os='g'])"/>
    52 
    53     <para os="h">Recreate the symlink in <filename class="directory">/usr/lib</filename> and remove the shared link from <filename class="directory">/lib</filename>:</para>
    54 
    55 <screen os="i"><userinput>
    56 ln -sfv ../../lib/$(readlink /lib/libattr.so) /usr/lib/libattr.so
    57 rm -v /lib/libattr.so</userinput></screen>
     58  href="../common/attr.xml"
     59  xpointer="xpointer(//*[@os='i'])"/>
    5860
    5961  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    60     href="../common/attr.xml"
    61     xpointer="xpointer(//*[@os='j'])"/>
     62  href="../common/attr.xml"
     63  xpointer="xpointer(//*[@os='j'])"/>
    6264
    6365  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    64     href="../common/attr.xml"
    65     xpointer="xpointer(//*[@os='k'])"/>
     66  href="../common/attr.xml"
     67  xpointer="xpointer(//*[@os='k'])"/>
     68
     69  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     70  href="../common/attr.xml"
     71  xpointer="xpointer(//*[@os='l'])"/>
     72
     73  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     74  href="../common/attr.xml"
     75  xpointer="xpointer(//*[@os='m'])"/>
     76
     77  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     78  href="../common/attr.xml"
     79  xpointer="xpointer(//*[@os='n'])"/>
    6680
    6781  </sect2>
Note: See TracChangeset for help on using the changeset viewer.