aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-06-18 09:23:28 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-06-18 09:23:28 -0500
commit577ac46eeac6c240e91ec588f45890c7fced03fb (patch)
tree7ca68a345f5afb8a797e6dfd52a998ca25fbd10f
parentf1f9fbefad9d5f3705e1b71353dbfaa719ef6f24 (diff)
Ensure capsh in installed from the libcap package.
-rw-r--r--chapter01/changelog.xml9
-rw-r--r--chapter08/libcap.xml4
2 files changed, 13 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 1ed4589ef..872082ac1 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,15 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
+ <para>2021-06-18</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Ensure libcap installs capsh.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2021-06-15</para>
<itemizedlist>
<listitem>
diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml
index d8fc15175..05d4a6ff0 100644
--- a/chapter08/libcap.xml
+++ b/chapter08/libcap.xml
@@ -43,6 +43,10 @@
<sect2 role="installation">
<title>Installation of Libcap</title>
+ <para>First, fix an upstream oversight in the latest release:</para>
+
+<screen><userinput remap="pre">sed -i 's/ $(PROGS)/&amp; capsh/' progs/Makefile</userinput></screen>
+
<para>Prevent static libraries from being installed:</para>
<screen><userinput remap="pre">sed -i '/install -m.*STA/d' libcap/Makefile</userinput></screen>