LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-12-2008, 01:31 PM   #1
thingsis
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Packaging Plain Files / When to start using a package manager


Hi,

after having completed LFS once quite a while ago, I am now going to do it again - this time using a package manager. I tried to figure out when to start using the package manager and it seems to be right at the beginning of chapter 6. If this is correct, how do I go about packaging things like /etc/group or the initial creation of the filesystem structure? Would I even do that? If not, then what would reinstalling the system be like? At the end I would like to have a script for that.

Thanks for your help,
thingsis

P.S.: I was going to use pacman, but I guess these questions are not specific to any package manager.
 
Old 05-13-2008, 08:21 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
I use CLFS and use paco (which was written specifically for LFS systems). I start using paco to log the installation of packages in section 10.5 which is equivalent to the beginning of chapter 6 in LFS. You could then use the -+, --append option to add the configuration files like /etc/group to whichever package you think makes sense or a package that only installs the configuration/miscellaneous files. After you log the installation of the entire system you can use the pacoball utility that comes with paco and create binary packages.

I actually only use paco to log the installation of the base system packages (i.e., I don't create the pacoballs). Once I've installed the base system and verified it works, I create a bzipped tarball of the entire system. I then stick that tarball on one of my other boxes. If I want/need to reinstall the base system I just untar it to a clean partition.
 
  


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
Adept Manager crashes -- packaging system in use elsewhere? Spearhead40 Ubuntu 4 12-17-2007 06:05 PM
synaptic package manager-where are my files? phantom_cyph Linux - Software 3 02-20-2007 02:57 PM
adept package manager will not start randell6564 Ubuntu 3 06-02-2006 09:04 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM
Packaging manager for Slackware 9.1 ??? Fernando534 Linux - Newbie 4 05-07-2004 02:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration