Archaic wrote:
> On Wed, Aug 10, 2005 at 07:25:27AM +0100, Richard A Downing wrote:
> 
>>My way now is never to type the commands directly, but create a
>>scriptlet for each package built from a template that is essentially
>>Bruce's script plus some checks.
> 
> 
> And to take automation one step further, you could put Bruce's code into
> a functions file and call it from the scriptlet to further reduce
> duplicated code. And then, you can write a very simple script to
> combine those scriptlets. Before you know it, you are typing one
> command and coming back a few hours later to a finished product. :)
> 

I have found, so far, that the differences between the various packages,
regarding patches, config switches, extra installs etc., etc., make it
not worthwhile creating a function. Every package in its scriptlet.

Then I can install Xorg on a bare LFS with, from memory:

libpng && expat && freetype && fontconfig && xorg

Yes, it's not a full scripted build, but it works well for me, as at
each step I can easily review the book for changes.  And my log
directory tells me what is currently installed.

My distro, my rules (and my mistakes).

R.


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to