LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Create binary packages of LFS 5.0 (https://www.linuxquestions.org/questions/linux-from-scratch-13/create-binary-packages-of-lfs-5-0-a-115271/)

pengStudent 11-12-2003 12:55 PM

Create binary packages of LFS 5.0
 
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.

lfslinux 11-12-2003 01:31 PM

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.

pengStudent 11-12-2003 03:33 PM

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.

lfslinux 11-12-2003 03:40 PM

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.

pengStudent 11-13-2003 02:28 AM

Ok, so I should start packaging from chapter 6. Installwatch and checkinstall should be the first things I install before starting with Chapter 6?

lfslinux 11-13-2003 08:41 AM

That's correct.

pengStudent 11-13-2003 02:35 PM

Thanks for the help, Ill start this right away. Ill be sure to let you know how it goes with everything. Thanks again for the help.

pengStudent 11-16-2003 04:36 PM

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.


All times are GMT -5. The time now is 06:55 AM.