Преглед изворни кода

Suppress /usr/include/scsi headers from the kernel

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7974 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Dan Nichilson пре 18 година
родитељ
комит
64f65c7a6a
2 измењених фајлова са 12 додато и 0 уклоњено
  1. 5 0
      chapter01/changelog.xml
  2. 7 0
      chapter06/linux-headers.xml

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <para>2007-03-23</para>
       <itemizedlist>
+        <listitem>
+          <para>[dnicholson] - Don't install the kernel headers in
+          <filename class="directory">/usr/include/scsi</filename> as the ones
+          provided by Glibc are preferred.</para>
+        </listitem>
         <listitem>
           <para>[dnicholson] - Force <command>ldd</command> to use
           <command>/bin/bash</command> since it contains Bash-specific

+ 7 - 0
chapter06/linux-headers.xml

@@ -40,6 +40,13 @@
     by way of sanitizing various C header files that are shipped in the Linux
     kernel source tarball.</para>
 
+    <para>Apply a <command>sed</command> subsitution to suppress the
+    installation of header files in <filename
+    class='directory'>/usr/include/scsi</filename>. The versions provided by
+    Glibc will be used instead:</para>
+
+<screen><userinput>sed -i '/scsi/d' include/Kbuild</userinput></screen>
+
     <para>Install the header files:</para>
 
 <screen><userinput>make mrproper