Переглянути джерело

* 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
Matthew Burgess 21 роки тому
батько
коміт
715f65f6ca
3 змінених файлів з 19 додано та 4 видалено
  1. 4 0
      chapter01/changelog.xml
  2. 13 2
      chapter06/iproute2.xml
  3. 2 2
      general.ent

+ 4 - 0
chapter01/changelog.xml

@@ -79,6 +79,10 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>July 16, 2004 [matt]: Install iproute2 to /sbin to
+comply with the FHS and to allow the bootscripts to run even if /usr is
+mounted on a separate filesystem. (Oliver Brakmann)</para></listitem>
+
 <listitem><para>July 15, 2004 [matt]: Fixed various networking inaccuracies
 (Kevin P. Fleming)</para></listitem>
 

+ 13 - 2
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">

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20040715">
-<!ENTITY releasedate "July 15, 2004">
+<!ENTITY version "SVN-20040716">
+<!ENTITY releasedate "July 16, 2004">
 <!ENTITY milestone "6.0">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">