diff options
Diffstat (limited to 'chapter09/theend.xml')
-rw-r--r-- | chapter09/theend.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chapter09/theend.xml b/chapter09/theend.xml index 586cb34a9..db4b5c14c 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -29,16 +29,21 @@ the strip man page for other strip options you can use. The general idea is to not run strip on libraries (other than --strip-debug) just to be on the safe side.</para> -<para><screen><userinput>find / -type f -exec strip --strip-debug '{}' ';'</userinput></screen></para> +<para><screen><userinput>find $LFS/{,usr,usr/local}/{bin,sbin,lib} -type +f \</userinput> +<userinput> -exec /usr/bin/strip --strip-debug '{}' +';'</userinput></screen></para> <para>If you plan to ever upgrade to a newer LFS version in the future it -will be a good idea to create the /etc/lfs-&version; file. By having +will be a good idea to create the $LFS/etc/lfs-&version; file. By having this file it is very easy for you (and for us if you are going to ask for help with something at some point) to find out which LFS version you have installed on your system. This can just be a null-byte file by running:</para> -<para><screen><userinput>touch /etc/lfs-&version;</userinput></screen></para> +<para><screen><userinput>touch $LFS/etc/lfs-&version;</userinput></screen></para> + +<para>Let's reboot into LFS now...</para> <para>One final thing you may want to do is run lilo now that you are booted into LFS. This way you will put the LFS version of LILO in the MBR |