Changeset 72d6a1b for BOOK/final-system
- Timestamp:
- Apr 2, 2014, 7:26:57 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4c1c923
- Parents:
- bb525ace
- Location:
- BOOK/final-system
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/acl.xml
rbb525ace r72d6a1b 25 25 <title>Installation of ACL</title> 26 26 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> 28 29 29 <screen os="b"><userinput> ./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>30 <screen os="b"><userinput>sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in</userinput></screen> 30 31 31 <para os="c"> Compile the package:</para>32 <para os="c">Apply a sed to fix a few tests:</para> 32 33 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> 34 37 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> 36 39 37 <para os=" f">Installthe package:</para>40 <para os="g">Compile the package:</para> 38 41 39 <screen os=" g"><userinput>make install install-dev install-lib</userinput></screen>42 <screen os="h"><userinput>make</userinput></screen> 40 43 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> 42 55 and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para> 43 56 44 <screen os=" i"><userinput>mv -v /usr/lib/libacl.so.* /lib57 <screen os="n"><userinput>mv -v /usr/lib/libacl.so.* /lib 45 58 ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so</userinput></screen> 46 59 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> 48 61 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> 50 63 51 64 </sect2> -
BOOK/final-system/multilib/acl-64bit.xml
rbb525ace r72d6a1b 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 25 26 25 href="../common/acl.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure \ 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 29 href="../common/acl.xml" 30 xpointer="xpointer(//*[@os='b'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 33 href="../common/acl.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 37 href="../common/acl.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 41 href="../common/acl.xml" 42 xpointer="xpointer(//*[@os='e'])"/> 43 44 <screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure \ 29 45 --prefix=/usr --libdir=/lib64 \ 30 46 --libexecdir=/usr/lib64</userinput></screen> 31 47 32 33 34 xpointer="xpointer(//*[@os='c'])"/>48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 49 href="../common/acl.xml" 50 xpointer="xpointer(//*[@os='g'])"/> 35 51 36 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 37 href="../common/acl.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 53 href="../common/acl.xml" 54 xpointer="xpointer(//*[@os='h'])"/> 55 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 57 href="../common/acl.xml" 58 xpointer="xpointer(//*[@os='i'])"/> 39 59 40 60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 41 href="../common/acl.xml" 42 xpointer="xpointer(//*[@os='e'])"/> 61 href="../common/acl.xml" 62 xpointer="xpointer(//*[@os='j'])"/> 63 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 65 href="../common/acl.xml" 66 xpointer="xpointer(//*[@os='k'])"/> 43 67 44 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 45 46 xpointer="xpointer(//*[@os='f'])"/>69 href="../common/acl.xml" 70 xpointer="xpointer(//*[@os='l'])"/> 47 71 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"49 href="../common/acl.xml"50 xpointer="xpointer(//*[@os='g'])"/>72 <para os="m">Recreate the symlink in <filename class="directory">/usr/lib64 73 </filename> and remove the shared link from <filename class="directory"> 74 /lib64</filename>:</para> 51 75 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> 53 54 <screen os="i"><userinput>ln -sfv ../../lib64/$(readlink /lib64/libacl.so) /usr/lib64/libacl.so 76 <screen os="n"><userinput>ln -sfv ../../lib64/$(readlink /lib64/libacl.so) /usr/lib64/libacl.so 55 77 rm -v /lib64/libacl.so</userinput></screen> 56 78 57 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 58 59 xpointer="xpointer(//*[@os='j'])"/>80 href="../common/acl.xml" 81 xpointer="xpointer(//*[@os='o'])"/> 60 82 61 <screen os=" k"><userinput>chmod 755 -v /lib64/libacl.so.1.1.0</userinput></screen>83 <screen os="p"><userinput>chmod 755 -v /lib64/libacl.so.1.1.0</userinput></screen> 62 84 63 85 </sect2> -
BOOK/final-system/multilib/acl-n32.xml
rbb525ace r72d6a1b 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure \ 30 --prefix=/usr --libdir=/lib32 \31 --libexecdir=/usr/lib32</userinput></screen>29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../common/acl.xml" 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 43 43 xpointer="xpointer(//*[@os='e'])"/> 44 44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 45 <screen os="f"><userinput>CC="gcc ${BUILDN32}" ./configure \ 46 --prefix=/usr --libdir=/lib32 \ 47 --libexecdir=/usr/lib32</userinput></screen> 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 46 50 href="../common/acl.xml" 47 xpointer="xpointer(//*[@os=' f'])"/>51 xpointer="xpointer(//*[@os='g'])"/> 48 52 49 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 54 href="../common/acl.xml" 51 xpointer="xpointer(//*[@os='g'])"/> 52 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> 54 55 <screen os="i"><userinput>ln -sfv ../../lib32/$(readlink /lib32/libacl.so) /usr/lib32/libacl.so 56 rm -v /lib32/libacl.so</userinput></screen> 55 xpointer="xpointer(//*[@os='h'])"/> 56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 58 href="../common/acl.xml" 59 xpointer="xpointer(//*[@os='i'])"/> 57 60 58 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 60 63 xpointer="xpointer(//*[@os='j'])"/> 61 64 62 <screen os="k"><userinput>chmod 755 -v /lib32/libacl.so.1.1.0</userinput></screen> 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 66 href="../common/acl.xml" 67 xpointer="xpointer(//*[@os='k'])"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 70 href="../common/acl.xml" 71 xpointer="xpointer(//*[@os='l'])"/> 72 73 <para os="m">Recreate the symlink in <filename class="directory">/usr/lib32 74 </filename> and remove the shared link from <filename class="directory"> 75 /lib32</filename>:</para> 76 77 <screen os="n"><userinput>ln -sfv ../../lib32/$(readlink /lib32/libacl.so) /usr/lib32/libacl.so 78 rm -v /lib32/libacl.so</userinput></screen> 79 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 81 href="../common/acl.xml" 82 xpointer="xpointer(//*[@os='o'])"/> 83 84 <screen os="p"><userinput>chmod 755 -v /lib32/libacl.so.1.1.0</userinput></screen> 63 85 64 86 </sect2> -
BOOK/final-system/multilib/acl.xml
rbb525ace r72d6a1b 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 27 26 href="../common/acl.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure \ 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../common/acl.xml" 31 xpointer="xpointer(//*[@os='b'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../common/acl.xml" 35 xpointer="xpointer(//*[@os='c'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../common/acl.xml" 39 xpointer="xpointer(//*[@os='d'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../common/acl.xml" 43 xpointer="xpointer(//*[@os='e'])"/> 44 45 <screen os="f"><userinput>CC="gcc ${BUILD32}" ./configure \ 30 46 --prefix=/usr --libdir=/lib \ 31 47 --libexecdir=/usr/lib</userinput></screen> 32 48 33 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 35 xpointer="xpointer(//*[@os='c'])"/>50 href="../common/acl.xml" 51 xpointer="xpointer(//*[@os='g'])"/> 36 52 37 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 39 xpointer="xpointer(//*[@os='d'])"/>54 href="../common/acl.xml" 55 xpointer="xpointer(//*[@os='h'])"/> 40 56 41 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 43 xpointer="xpointer(//*[@os='e'])"/>58 href="../common/acl.xml" 59 xpointer="xpointer(//*[@os='i'])"/> 44 60 45 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 46 47 xpointer="xpointer(//*[@os='f'])"/>62 href="../common/acl.xml" 63 xpointer="xpointer(//*[@os='j'])"/> 48 64 49 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 href="../common/acl.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>ln -sfv ../../lib/$(readlink /lib/libacl.so) /usr/lib/libacl.so 56 rm -v /lib/libacl.so</userinput></screen> 66 href="../common/acl.xml" 67 xpointer="xpointer(//*[@os='k'])"/> 57 68 58 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 59 60 xpointer="xpointer(//*[@os='j'])"/>70 href="../common/acl.xml" 71 xpointer="xpointer(//*[@os='l'])"/> 61 72 62 <screen os="k"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen> 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 74 href="../common/acl.xml" 75 xpointer="xpointer(//*[@os='m'])"/> 76 77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 78 href="../common/acl.xml" 79 xpointer="xpointer(//*[@os='n'])"/> 80 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 82 href="../common/acl.xml" 83 xpointer="xpointer(//*[@os='o'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 86 href="../common/acl.xml" 87 xpointer="xpointer(//*[@os='p'])"/> 63 88 64 89 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.