[SOLVED] Confused with deleting source directories
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(Solved) Confused with deleting source directories
Hi guys, when i read about LFS i say to my self "this is not for me" however my other side told me "why not?" and here i am. This is not my first so long install, i installed Gentoo before, i know LFS is a step up but after building the toolchain i think that i can do this.
For sure this is a simple question for many of you but after this building i have many heavy directories in my sources directory, and i want to know how many of that directories i have to preserve or if i can delete all these directories.
Also, the tools directory is heavy, about 2 gigas, i did not changed the owner nor did stripping step. What can i do if i want to have this toolchain to do any other job in the future?
Thank you very much.
Last edited by elc79; 10-18-2017 at 11:23 AM.
Reason: Solved
If you finished the LFS book you can delete the /tools and the /sources directories.
The book warns you that the /tools directory is no longer viable for future build. So,
it's worthless anyway.
The other side is your binaries and libs haven't been stripped. You might want to keep
a select few untarred in /sources, for debugging purposes. For me, since that is where
I compiled glibc I kept it there.
Then you will have to make sure that everything is fine without knowing what the result of the tests is.
Compile gcc was about 7 hours, i begun make check and i'm scared of how many time will take this operation, there's a way to know how many time can take this operation? By the moment the only thing i see it's thousands of lines with fails (test for excess errors and test for errors) i don't know if this is good or bad.
Personally I don't do all the tests but I sent through the book many times since v6.x. On what machine are you compiling?
If you use a correct host distro and you follow the book by the letter, the tests are not mandatory to get a working system.
Personally I don't do all the tests but I sent through the book many times since v6.x. On what machine are you compiling?
If you use a correct host distro and you follow the book by the letter, the tests are not mandatory to get a working system.
It's a fresh Debian install on Virtualbox, i know the guide recommends Fedora but i prefer Debian, the vm have a very low resources, only one core and 1gb of ram (3g of swap).
I'm on a pc with Windows because my other pc with Linux it's even older and slower, it's a problem to build LFS with Windows as host?
Something was wrong, i cleaned the folders and i'm running again from the untouched toolchain, it's sucks but now bzip works... and again i have to build glibc, binutils, gcc, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.