Browse Source

Added command explanation for libcap

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10585 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Chris Staub 11 years ago
parent
commit
aa96607722
2 changed files with 24 additions and 0 deletions
  1. 10 0
      chapter01/changelog.xml
  2. 14 0
      chapter06/libcap.xml

+ 10 - 0
chapter01/changelog.xml

@@ -35,6 +35,16 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2014-06-28</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Chris] - Added command explanation to Libcap page.
+          Fixes <ulink url="&lfs-ticket-root;3619">#3619</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2014-06-23</para>
       <itemizedlist>

+ 14 - 0
chapter06/libcap.xml

@@ -54,6 +54,20 @@
 <screen><userinput remap="install">make RAISE_SETFCAP=no prefix=/usr install
 chmod -v 755 /usr/lib/libcap.so</userinput></screen>
 
+    <variablelist>
+      <title>The meaning of the make option:</title>
+
+      <varlistentry>
+        <term><parameter>RAISE_SETFCAP=no</parameter></term>
+        <listitem>
+          <para>This parameter skips trying to use <command>setcap</command>
+          on itself. This avoids an installation error if the kernel or file
+          system does not support extended capabilities.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
     <para>The shared library needs to be moved to
     <filename class="directory">/lib</filename>, and as a result the
     <filename class="extension">.so</filename> file in