Delete extracted source directories before Chapter 6?
by richt from LinuxQuestions.org on (#54AQR)
I've followed the LFS 9.1 book religiously through Chapter 5, including the General Compilation Instructions in 5.3 which say to delete the extracted source directory unless instructed otherwise. So for example after executing "tar linux-5.5.3.tar.xz" and following the instructions in 5.6, I ended by removing the extracted directory using "rm -rf linux-5.5.3".
Now I'm at 6.7 and it appears I have to re-extract linux-5.5.3 (which I can't because it appears the tar command is not available to me in this chrooted environment) or should not have removed the extracted files back in Chapter 5.
Should I have waited until I was through with Chapter 6 to delete the extracted source directories? If so, would the solution be to go back to the lfs user in $LFS/sources and re-extract those tar files?
Thanks!


Now I'm at 6.7 and it appears I have to re-extract linux-5.5.3 (which I can't because it appears the tar command is not available to me in this chrooted environment) or should not have removed the extracted files back in Chapter 5.
Should I have waited until I was through with Chapter 6 to delete the extracted source directories? If so, would the solution be to go back to the lfs user in $LFS/sources and re-extract those tar files?
Thanks!