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.
I have finished LFS 5.0 on a spare partition on my hd. It works fine with a few minor problems (mostly my fault for typos in config files) but I was wondering if it was possible to create binary packages (tgz, rpm, deb) of everything installed while creating the system and place them in a seperate folder (/usr/src/packages)? If so, how would one go about this? Using Installwatch and Checkinstall from the start? Thanks for your help.
Yes, using programs like installwatch and checkinstall will help you getting installation logs. You can then tell tar to create a tar archive of all the files listed in that log file so you can reinstall a package later without recompiling it again.
So I can start using Installwatch from the start of chapters 5 & 6 to get logs of what is getting installed? Or should I just do it for chapter 6? Also, would it be better to use the package tools that come with slackware to make the binary packages or use checkinstall? Thanks for your help.
Chapter 5 is useless for your purposes: it is only useful in building the binaries in chapter 6. If you package up chapter 6, you do not need to worry about chapter 5 for the next time. If you do have to worry about chapter 5, you have to do it from source as you will probably be on a different computer.
I have finished with chapter 5 and started moving on into chapter 6. I got to the MAKEDEV-1.7 (using book 5.0) After I ran the last command of MAKEDEV-1.7 (cd /dev AND ./MAKEDEV -v generic-nopty) I made a tar ball consisting of all the folders except the sources and tools folder. After doing this I installed installwatch and checkinstall and have the install logs for both so I can create packages later from the logs. The next part is the Linux 2.4.22 headers, Im going to have to package this manually since there is no make install. So far does this seem good? Thanks for the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.