Ignore:
Timestamp:
Apr 2, 2014, 7:26:57 PM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
4c1c923
Parents:
bb525ace
Message:

Tidy up Acl xml, add sed for doc directory install with version, add sed for test suite fix, and add test suite commands.

File:
1 edited

Legend:

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

    rbb525ace r72d6a1b  
    2525    <title>Installation of ACL</title>
    2626
    27     <para os="a">Prepare ACL for compilation:</para>
     27    <para os="a">Apply a sed to install the documentation with a versioned
     28    directory:</para>
    2829
    29 <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
     30<screen os="b"><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
    3031
    31     <para os="c">Compile the package:</para>
     32    <para os="c">Apply a sed to fix a few tests:</para>
    3233
    33 <screen os="d"><userinput>make</userinput></screen>
     34<screen os="d"><userinput>sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
     35 
     36    <para os="e">Prepare ACL for compilation:</para>
    3437
    35     <para os="e">This package does not come with a test suite.</para>
     38<screen os="f"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
    3639
    37     <para os="f">Install the package:</para>
     40    <para os="g">Compile the package:</para>
    3841
    39 <screen os="g"><userinput>make install install-dev install-lib</userinput></screen>
     42<screen os="h"><userinput>make</userinput></screen>
    4043
    41     <para os="h">Move the shared library to <filename class="directory">/lib</filename>
     44    <para os="i">The Acl tests need a filesystem which supports access controls
     45    after Coreutils has been built with the Acl libraries. Return to this
     46    section after Coreutils has been installed. Test the results:</para>
     47
     48<screen os="j"><userinput remap="test">make tests</userinput></screen>
     49
     50    <para os="k">Install the package:</para>
     51
     52<screen os="l"><userinput>make install install-dev install-lib</userinput></screen>
     53
     54    <para os="m">Move the shared library to <filename class="directory">/lib</filename>
    4255    and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para>
    4356
    44 <screen os="i"><userinput>mv -v /usr/lib/libacl.so.* /lib
     57<screen os="n"><userinput>mv -v /usr/lib/libacl.so.* /lib
    4558ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so</userinput></screen>
    4659
    47     <para os="j">Set the proper permissions on the shared library:</para>
     60    <para os="o">Set the proper permissions on the shared library:</para>
    4861
    49 <screen os="k"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen>
     62<screen os="p"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen>
    5063
    5164  </sect2>
Note: See TracChangeset for help on using the changeset viewer.