Explorar o código

Make install of asm headers repeatable (for reruns, or ICA), instead of creating a spurious asm/asm-i386 directory when repeated.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7239 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat %!s(int64=19) %!d(string=hai) anos
pai
achega
dec63ea3d9
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 2 1
      chapter06/linux-libc-headers.xml

+ 4 - 0
chapter01/changelog.xml

@@ -114,6 +114,10 @@ First a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>December 31, 2005 [ken]: Alter installation of Linux Libc asm
+Headers in chroot, to be repeatable.</para>
+</listitem>
+
 <listitem><para>December 23, 2005 [jim]: Corrected version on Vim symlink</para>
 </listitem>
 

+ 2 - 1
chapter06/linux-libc-headers.xml

@@ -41,7 +41,8 @@ headers.</para>
 
 <para>Install the header files:</para>
 
-<screen><userinput>cp -Rv include/asm-i386 /usr/include/asm
+<screen><userinput>install -d /usr/include/asm
+cp -Rv include/asm-i386/* /usr/include/asm
 cp -Rv include/linux /usr/include</userinput></screen>
 
 <para>Ensure that all the headers are owned by root:</para>