On Mon, 21 Feb 2011 21:53:10 +0000, Andrew Benton <b3n...@gmail.com> wrote:
 
> For what it's worth, I write my own custom scripts based on the
> commands in the book but with my own special ingredients. I'm sure
> jhalfs works as other people on the lists use it, but I don't know if
> it works for BLFS.

I too started off writing my own scripts for both LFS and BLFS.  However,
when it comes to testing the instructions in the LFS book, as required by
any good editor, there's nothing like a computer to make sure that the
commands being run are those that are in the book, and not what I 
think are in the book (i.e. it avoids typos, or changes being missed as
they can be when having to keep the book and separate scripts in sync).

> It occurred to me that I could simply copy and
> paste the commands into a shell script and then run that with one
> command. However the problems with that are making sure it stops when
> an error occurs and that it logs everything into a file so that I can
> look back at what went wrong and Google for a solution. Working around
> those and other problems (eg how to automatically generate a new fstab for
> the new system?) became my way of learning to write scripts. It's a
> useful skill.

I definitely agree with you there, Andy.  I still use my own scripts for
BLFS as, whereas there is some support for BLFS in jhalfs, I tend to
customise my BLFS package builds much more than the LFS packages.

Regards,

Matt.

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

Reply via email to