LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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

Reply
 
Search this Thread
Old 11-12-2003, 12:55 PM   #1
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Rep: Reputation: 15
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.
 
Old 11-12-2003, 01:31 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 11-12-2003, 03:33 PM   #3
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Original Poster
Rep: Reputation: 15
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.
 
Old 11-12-2003, 03:40 PM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 11-13-2003, 02:28 AM   #5
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Original Poster
Rep: Reputation: 15
Ok, so I should start packaging from chapter 6. Installwatch and checkinstall should be the first things I install before starting with Chapter 6?
 
Old 11-13-2003, 08:41 AM   #6
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
That's correct.
 
Old 11-13-2003, 02:35 PM   #7
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Original Poster
Rep: Reputation: 15
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.
 
Old 11-16-2003, 04:36 PM   #8
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building Binary LFS Tuvok Linux From Scratch 10 03-20-2005 07:09 PM
Best Binary-based distro w/ many packages? ShyGuy91284 Linux - General 9 03-16-2005 03:31 AM
Installing binary packages GSX Linux - General 2 03-16-2005 02:04 AM
Gnome create launcher for binary newbutold Linux - General 5 07-21-2003 01:28 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM


All times are GMT -5. The time now is 03:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration