diff options
Diffstat (limited to 'chapter06/glibc-exp.xml')
-rw-r--r-- | chapter06/glibc-exp.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml index dfb3bae3c..d49215c64 100644 --- a/chapter06/glibc-exp.xml +++ b/chapter06/glibc-exp.xml @@ -21,7 +21,7 @@ file <filename>tmp~</filename>. This is done because Glibc can't autodetect perl since it's not installed yet at the time when we install Glibc.</para> -<para><userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile:</userinput> The file +<para><userinput>mv -f tmp~ ../glibc-&glibc-version;/malloc/Makefile:</userinput> The file <filename>tmp~</filename> is now moved back to <filename>../glibc-&glibc-version;/malloc/Makefile</filename>. We do this because when using sed, we can't write straight back to this file so we need to @@ -35,7 +35,7 @@ because as we don't have glibc on the LFS system yet, usernames can't be resolved to their user id's. Therefore, we replace the username root with the id 0. </para> -<para><userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the +<para><userinput>mv -f tmp~ ../glibc-&glibc-version;/login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the edited Makefile and then copying it back over the original.</para> <para><userinput>--enable-add-ons:</userinput> This enables the add-on that @@ -52,7 +52,7 @@ test program to determine this, so it automatically defaults to a cross-compiler. The reason for the failed program is because Glibc hasn't been installed yet.</para> -<para><userinput>mv config.make~ config.make:</userinput> Again, we are moving +<para><userinput>mv -f config.make~ config.make:</userinput> Again, we are moving the temporary file over the original.</para> </sect2> |