|
@@ -5,11 +5,12 @@
|
|
|
run this command in order to keep a backup of the file we are about to
|
|
|
change.</para>
|
|
|
|
|
|
-<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
|
|
-<userinput> lib/Makefile.in > tmp &&</userinput>
|
|
|
-<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
|
|
-<userinput> tmp > lib/Makefile.in : </userinput></screen> This
|
|
|
-is used to fix a problem with building fileutils statically on glibc 2.2.3
|
|
|
+<para><screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &&</userinput>
|
|
|
+<userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
|
|
+<userinput> -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
|
|
+<userinput> lib/Makefile.in > lib/Makefile.in~ &&</userinput>
|
|
|
+<userinput>mv lib/Makefile.in~ lib/Makefile.in:</userinput></screen>
|
|
|
+This is used to fix a problem with building fileutils statically on glibc 2.2.3
|
|
|
systems. If this isn't done, then there is the possibility of all of the
|
|
|
fileutils programs causing segmentation faults once chroot is entered
|
|
|
in chapter 6.</para>
|