Simon Geard wrote:
On Thu, 2016-05-19 at 07:40 -0500, Douglas R. Reno wrote:
That is not true regarding our updates. DJ Lucas and I are committed
to ensuring that the systemd book stays up to date and a good
resource at all times. However, neither of us have touched GNOME yet.
Out of curiosity, how much actually differs between the systemd and
sysv books? I would have thought that 99% of packages would be
identical, and only trivial differences in most of the rest...
I'm not going to do an exact count, but a quick grep shows 22 of 813 xml
files in BLFS trunk (2.7%) mention systemd.
Actually that would argue for a way to merge the development tree. Right
now sections are put into the book with chapter lines like:
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxrandr.xml"/>
XML does not have an if/then/else statement, but there might be some xslt
magic that could implement it. It would be nice if we could do
make
for the book in trunk and
make systemd
for that book from the same trunk. The place to check that out initially
would be LFS since it is a lot shorter.
An alternate way is to just have separate index pages. The book is
rendered in the Makefile by the validate target:
xmllint --nonet --noent --xinclude --postvalid \
-o $(RENDERTMP)/lfs-full.xml index.xml
with a separate index-systemd.xml that defines the identical trunk files
and then substitutes/adds the specific files needed by systemd would
probably simplify the systemd maintenance a lot.
If Douglas or DJ can identify those files that are specific to systemd in
LFS, I can take a look at prototyping such a system.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page