r5393 - in branches/cross-lfs/BOOK: chroot/common chroot/multilib temp-system/common temp-system/multilib

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun May 22 15:02:30 PDT 2005


Author: jhuntwork
Date: 2005-05-22 16:02:29 -0600 (Sun, 22 May 2005)
New Revision: 5393

Modified:
   branches/cross-lfs/BOOK/chroot/common/util-linux.xml
   branches/cross-lfs/BOOK/chroot/multilib/util-linux.xml
   branches/cross-lfs/BOOK/temp-system/common/bash.xml
   branches/cross-lfs/BOOK/temp-system/multilib/bash.xml
Log:
Changed 'mv' commands preceding seds to 'cp -p'

Modified: branches/cross-lfs/BOOK/chroot/common/util-linux.xml
===================================================================
--- branches/cross-lfs/BOOK/chroot/common/util-linux.xml	2005-05-22 21:43:57 UTC (rev 5392)
+++ branches/cross-lfs/BOOK/chroot/common/util-linux.xml	2005-05-22 22:02:29 UTC (rev 5393)
@@ -34,9 +34,8 @@
 libraries from the <filename class="directory">/tools</filename>
 directory. This is fixed by altering the configure script:</para>
 
-<screen><userinput>mv configure configure.orig
-sed 's@/usr/include@/tools/include at g' configure.orig > configure
-chmod 755 configure</userinput></screen>
+<screen><userinput>cp -p configure configure.orig
+sed 's@/usr/include@/tools/include at g' configure.orig > configure</userinput></screen>
 
 <para>Prepare Util-linux for compilation:</para>
 

Modified: branches/cross-lfs/BOOK/chroot/multilib/util-linux.xml
===================================================================
--- branches/cross-lfs/BOOK/chroot/multilib/util-linux.xml	2005-05-22 21:43:57 UTC (rev 5392)
+++ branches/cross-lfs/BOOK/chroot/multilib/util-linux.xml	2005-05-22 22:02:29 UTC (rev 5393)
@@ -34,9 +34,8 @@
 libraries from the <filename class="directory">/tools</filename>
 directory. This is fixed by altering the configure script:</para>
 
-<screen><userinput>mv configure configure.orig
-sed 's@/usr/include@/tools/include at g' configure.orig > configure
-chmod 755 configure</userinput></screen>
+<screen><userinput>cp -p configure configure.orig
+sed 's@/usr/include@/tools/include at g' configure.orig > configure</userinput></screen>
 
 <para>Ensure that util-linux uses the proper flags for our compile:</para>
 

Modified: branches/cross-lfs/BOOK/temp-system/common/bash.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/bash.xml	2005-05-22 21:43:57 UTC (rev 5392)
+++ branches/cross-lfs/BOOK/temp-system/common/bash.xml	2005-05-22 22:02:29 UTC (rev 5393)
@@ -32,7 +32,7 @@
 
 <para>Fix a minor issue during the build when cross-compling:</para>
 
-<screen><userinput>mv Makefile.in Makefile.in.orig
+<screen><userinput>cp -p Makefile.in Makefile.in.orig
 sed "s at size \$(Program)@${LFS_TARGET}-&@g"  Makefile.in.orig > Makefile.in</userinput></screen>
 
 <para>Bash has a problem when compiled against newer versions of Glibc, causing

Modified: branches/cross-lfs/BOOK/temp-system/multilib/bash.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/multilib/bash.xml	2005-05-22 21:43:57 UTC (rev 5392)
+++ branches/cross-lfs/BOOK/temp-system/multilib/bash.xml	2005-05-22 22:02:29 UTC (rev 5393)
@@ -32,7 +32,7 @@
 
 <para>Fix a minor issue during the build when cross-compling:</para>
 
-<screen><userinput>mv Makefile.in Makefile.in.orig
+<screen><userinput>cp -p Makefile.in Makefile.in.orig
 sed "s at size \$(Program)@${LFS_TARGET}-&@g"  Makefile.in.orig > Makefile.in</userinput></screen>
 
 <para>Bash has a problem when compiled against newer versions of Glibc, causing




More information about the lfs-book mailing list