On 4/25/07, Sandip Devnath <[EMAIL PROTECTED]> wrote:
>
> So you suggest to have script to intall packages. What about the configuration
> for the tool like http.conf for apache, registering apache with initrc etc 
> etc.

That's the hard part. The cheap solution I've used is to create
default configuration files and install them to a non-final location.
On my system, it's /usr/share/default. Then I check if the
configuration file already exists at the real location before
overwriting it. If you use a real package manager like rpm, it may
have builtin facilities for handling these things.

For registering the init scripts, I haven't solved that yet, but have
been thinking about it lately. You might be able to take one of the
tools from the other distros, like chkconfig in Fedora. You'll
probably need to hack up the LFS bootscripts if you want to do
anything fancy with them.

These are some of the challenges that distros have solved that we
avoid completely in LFS.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to