aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-07-19 17:46:43 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-07-19 17:46:43 +0000
commit715f65f6ca2463383c047bfbdeaaf9ec36824f42 (patch)
tree23d1c51f711c44a8d0cff228f42f0e68594046db /chapter06
parentc0155c7108d221cb03ff3244d4f34973293b8cb5 (diff)
* Install iproute2 to /sbin now to comply with the FHS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/iproute2.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index 4b4c3596b..bc8f32940 100644
--- a/chapter06/iproute2.xml
+++ b/chapter06/iproute2.xml
@@ -47,11 +47,22 @@
<para>Compile the package:</para>
- <screen><userinput>make</userinput></screen>
+ <screen><userinput>make SBINDIR=/sbin</userinput></screen>
+
+ <variablelist>
+ <varlistentry>
+ <term><parameter>SBINDIR=/sbin</parameter></term>
+ <listitem><para>This makes sure that the iproute2 binaries will install into
+ <filename class="directory">/sbin</filename>. This is the correct
+ location according to the FHS, as some of the iproute2 binaries are used
+ in our bootscripts.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Now install it:</para>
- <screen><userinput>make install</userinput></screen>
+ <screen><userinput>make install SBINDIR=/sbin</userinput></screen>
</sect2>
<sect2 id="contents-iproute2" role="content">