aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
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 /chapter08
parentf1f9fbefad9d5f3705e1b71353dbfaa719ef6f24 (diff)
Ensure capsh in installed from the libcap package.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/libcap.xml4
1 files changed, 4 insertions, 0 deletions
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>