Le 23/11/2013 16:08, Thomas Trepl a écrit :
> Hi,
> 
> [...]
> 
> **Q**
> Long text, short question:
> How can I distinct pre-install, build-time- and post-install commands using 
> the books instructions? I feel I can't as I can't see any different roles or 
> such.
> Or is there something I missed?  If no, are there plans to introduce 
> something 
> to the book and - more general - is there interest in doing that at all?
>

Hi Thomas,

I have had similar problems trying to actualize the BLFS tool in jhalfs. There
are no good solution with the present layout of the book. I cannot answer
about changing that layout. The problem is the size of the book and the need
to review and modify more than 700 packages!

Usually, post-install instructions are inside the
<sect2 role="configuration"> tag, so they are easy to find and parse.

It is much harder to detect pre-install instructions. I would say that they
are <screen role="root"> tags at the beginning of the
<sect2 role="installation">, and before non role="root" <screen> instructions.
I do not know of a simple method to parse those...

In any case, some packages have peculiarities (2 <sect2 role="installation> on
the same page, perl modules and so on), and you have to expect to edit quite a
few scriptlets, whenever you manage to automate the scriptlet generation.

You may want to have a look at BLFS/xsl/scripts.xsl in the svn version of 
jhalfs.

Building the dependency tree is another problem.

Regards,
Pierre
-- 
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