diff options
Diffstat (limited to 'chapter07/cleanup.xml')
-rw-r--r-- | chapter07/cleanup.xml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/chapter07/cleanup.xml b/chapter07/cleanup.xml index 36af2cfaa..b4eacad1a 100644 --- a/chapter07/cleanup.xml +++ b/chapter07/cleanup.xml @@ -114,12 +114,9 @@ umount $LFS/{sys,proc,run}</userinput></screen> </para> </note> -<screen role="nodump" revision="sysv"><userinput>cd $LFS +<screen role="nodump"><userinput>cd $LFS tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen> -<screen role="nodump" revision="systemd"><userinput>cd $LFS -tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen> - <para> Replace <envar>$HOME</envar> by a directory of your choice if you do not want to have the backup stored in <systemitem @@ -149,14 +146,10 @@ tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen> environment variable is not set for the root user, it will destroy your entire host system. YOU ARE WARNED.</para></warning> -<screen role="nodump" revision="sysv"><computeroutput>cd $LFS +<screen role="nodump"><computeroutput>cd $LFS rm -rf ./* tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen> -<screen role="nodump" revision="systemd"><computeroutput>cd $LFS -rm -rf ./* -tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen> - <para> Again, double check that the environment has been setup properly and continue building the rest of the system. |