Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-12-2003, 12:55 PM
|
#1
|
|
Member
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55
Rep:
|
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.
|
|
|
|
11-12-2003, 01:31 PM
|
#2
|
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
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.
|
|
|
|
11-12-2003, 03:33 PM
|
#3
|
|
Member
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
|
11-12-2003, 03:40 PM
|
#4
|
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
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.
|
|
|
|
11-13-2003, 02:28 AM
|
#5
|
|
Member
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55
Original Poster
Rep:
|
Ok, so I should start packaging from chapter 6. Installwatch and checkinstall should be the first things I install before starting with Chapter 6?
|
|
|
|
11-13-2003, 08:41 AM
|
#6
|
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
That's correct.
|
|
|
|
11-13-2003, 02:35 PM
|
#7
|
|
Member
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
|
11-16-2003, 04:36 PM
|
#8
|
|
Member
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|