Author: dj
Date: Wed Jun  1 22:39:31 2016
New Revision: 17424

Log:
Initial systemd import, update to blfs-sytemd-units-20160602, makefile changes 
for building both books and systemd-units

Added:
   trunk/BOOK/general/sysutils/systemd.xml   (contents, props changed)
   trunk/BOOK/introduction/important/systemd-units.xml   (contents, props 
changed)
Modified:
   trunk/BOOK/Makefile
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/sysutils.xml
   trunk/BOOK/introduction/important/bootscripts.xml
   trunk/BOOK/introduction/important/important.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/Makefile
==============================================================================
--- trunk/BOOK/Makefile Wed Jun  1 13:41:14 2016        (r17423)
+++ trunk/BOOK/Makefile Wed Jun  1 22:39:31 2016        (r17424)
@@ -35,10 +35,17 @@
   BASEDIR         ?= $(HOME)/public_html/blfs-book
   NOCHUNKS_OUTPUT ?= blfs-book.html
   DUMPDIR         ?= ~/blfs-commands
+  BLFSHTML        ?= blfs-html.xml
+  BLFSHTML2       ?= blfs-html2.xml
+  BLFSFULL        ?= blfs-full.xml
 else
   BASEDIR         ?= $(HOME)/public_html/blfs-systemd
   NOCHUNKS_OUTPUT ?= blfs-sysd-book.html
   DUMPDIR         ?= ~/blfs-sysd-commands
+  BLFSHTML        ?= blfs-systemd-html.xml
+  BLFSHTML2       ?= blfs-systemd-html2.xml
+  BLFSFULL        ?= blfs-systemd-full.xml
+
 endif
 
 
@@ -48,14 +55,14 @@
 world: all blfs-patch-list dump-commands test-links
 
 html: $(BASEDIR)/index.html
-$(BASEDIR)/index.html: $(RENDERTMP)/blfs-html.xml
+$(BASEDIR)/index.html: $(RENDERTMP)/$(BLFSHTML)
        @echo "Generating chunked XHTML files..."
        $(Q)xsltproc --nonet                                    \
                 --stringparam chunk.quietly $(CHUNK_QUIET) \
                 --stringparam rootid "$(ROOT_ID)"          \
                 --stringparam base.dir $(BASEDIR)/         \
                 stylesheets/blfs-chunked.xsl               \
-                $(RENDERTMP)/blfs-html.xml
+                $(RENDERTMP)/$(BLFSHTML)
 
        @echo "Copying CSS code and images..."
        $(Q)if [ ! -e $(BASEDIR)/stylesheets ]; then \
@@ -82,13 +89,13 @@
    done;
 
 nochunks: $(BASEDIR)/$(NOCHUNKS_OUTPUT)
-$(BASEDIR)/$(NOCHUNKS_OUTPUT): $(RENDERTMP)/blfs-html.xml
+$(BASEDIR)/$(NOCHUNKS_OUTPUT): $(RENDERTMP)/$(BLFSHTML)
        @echo "Generating non-chunked XHTML file..."
        $(Q)xsltproc --nonet                                \
                 --stringparam rootid "$(ROOT_ID)"      \
                 --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
                 stylesheets/blfs-nochunks.xsl          \
-                $(RENDERTMP)/blfs-html.xml
+                $(RENDERTMP)/$(BLFSHTML)
 
        @echo "Running Tidy and obfuscate.sh on non-chunked XHTML..."
        $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
@@ -102,17 +109,16 @@
 
 clean:
        @echo "Cleaning $(RENDERTMP)"
-       $(Q)rm -f $(RENDERTMP)/blfs-{full,html}.xml
-       $(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches}
+       $(Q)rm -f $(RENDERTMP)/blfs*
 
-validate: $(RENDERTMP)/blfs-full.xml
-$(RENDERTMP)/blfs-full.xml: general.ent $(ALLXML) $(ALLXSL)
+validate: $(RENDERTMP)/$(BLFSFULL)
+$(RENDERTMP)/$(BLFSFULL): general.ent $(ALLXML) $(ALLXSL)
        $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
 
        @echo "Adjusting for revision $(REV)..."
        $(Q)xsltproc --nonet                               \
                 --xinclude                            \
-                --output $(RENDERTMP)/blfs-html2.xml  \
+                --output $(RENDERTMP)/$(BLFSHTML2)  \
                 --stringparam profile.revision $(REV) \
                 stylesheets/lfs-xsl/profile.xsl       \
                 index.xml
@@ -121,48 +127,48 @@
        $(Q)xmllint --nonet                             \
                --noent                             \
                --postvalid                         \
-               --output $(RENDERTMP)/blfs-full.xml \
-               $(RENDERTMP)/blfs-html2.xml
+               --output $(RENDERTMP)/$(BLFSFULL) \
+               $(RENDERTMP)/$(BLFSHTML2)
 
-profile-html: $(RENDERTMP)/blfs-html.xml
-$(RENDERTMP)/blfs-html.xml: $(RENDERTMP)/blfs-full.xml
+profile-html: $(RENDERTMP)/$(BLFSHTML)
+$(RENDERTMP)/$(BLFSHTML): $(RENDERTMP)/$(BLFSFULL)
        @echo "Generating profiled XML for XHTML..."
        $(Q)xsltproc --nonet                              \
                 --stringparam profile.condition html \
-                --output $(RENDERTMP)/blfs-html.xml  \
+                --output $(RENDERTMP)/$(BLFSHTML)  \
                 stylesheets/lfs-xsl/profile.xsl      \
-                $(RENDERTMP)/blfs-full.xml
+                $(RENDERTMP)/$(BLFSFULL)
 
 blfs-patch-list: blfs-patches.sh
        @echo "Generating blfs patch list..."
        $(Q)awk '{if ($$1 == "copy") {sub(/.*\//, "", $$2); print $$2}}' \
          blfs-patches.sh > blfs-patch-list
 
-blfs-patches.sh: $(RENDERTMP)/blfs-full.xml
+blfs-patches.sh: $(RENDERTMP)/$(BLFSFULL)
        @echo "Generating blfs patch script..."
        $(Q)xsltproc --nonet                     \
                 --output blfs-patches.sh    \
                 stylesheets/patcheslist.xsl \
-                $(RENDERTMP)/blfs-full.xml
+                $(RENDERTMP)/$(BLFSFULL)
 
 wget-list: $(BASEDIR)/wget-list
-$(BASEDIR)/wget-list: $(RENDERTMP)/blfs-full.xml
+$(BASEDIR)/wget-list: $(RENDERTMP)/$(BLFSFULL)
        @echo "Generating wget list for $(REV) at $(BASEDIR)/wget-list ..."
        $(Q)mkdir -p $(BASEDIR)
        $(Q)xsltproc --nonet                       \
                 --output $(BASEDIR)/wget-list \
                 stylesheets/wget-list.xsl     \
-                $(RENDERTMP)/blfs-full.xml
+                $(RENDERTMP)/$(BLFSFULL)
 
 test-links: $(BASEDIR)/test-links
-$(BASEDIR)/test-links: $(RENDERTMP)/blfs-full.xml
+$(BASEDIR)/test-links: $(RENDERTMP)/$(BLFSFULL)
        @echo "Generating test-links file..."
        $(Q)mkdir -p $(BASEDIR)
        $(Q)xsltproc --nonet                        \
                 --stringparam list_mode full   \
                 --output $(BASEDIR)/test-links \
                 stylesheets/wget-list.xsl      \
-                $(RENDERTMP)/blfs-full.xml
+                $(RENDERTMP)/$(BLFSFULL)
 
        @echo "Checking URLs, first pass..."
        $(Q)rm -f $(BASEDIR)/{good,bad,true_bad}_urls
@@ -196,16 +202,26 @@
      tar  -cJhf $$BOOTSCRIPTS.tar.xz -C $(RENDERTMP) $$BOOTSCRIPTS;   \
    fi
 
+systemd-units:
+       @VERSION=`grep "systemd-units-version " general.ent | cut -d\" -f2`; \
+   UNITS="blfs-systemd-units-$$VERSION";                        \
+   if [ ! -e $$UNITS.tar.xz ]; then                             \
+     rm -rf $(RENDERTMP)/$$UNITS;                               \
+     mkdir $(RENDERTMP)/$$UNITS;                                \
+     cp -a ../systemd-units/* $(RENDERTMP)/$$UNITS;             \
+     tar -cJhf $$UNITS.tar.xz -C $(RENDERTMP) $$UNITS;          \
+   fi
+
 dump-commands: $(DUMPDIR)
-$(DUMPDIR): $(RENDERTMP)/blfs-full.xml
+$(DUMPDIR): $(RENDERTMP)/$(BLFSFULL)
        @echo "Dumping book commands..."
        $(Q)xsltproc --output $(DUMPDIR)/          \
                 stylesheets/dump-commands.xsl \
-                $(RENDERTMP)/blfs-full.xml
+                $(RENDERTMP)/$(BLFSFULL)
        $(Q)touch $(DUMPDIR)
 
 .PHONY: blfs all world html nochunks tmpdir clean  \
    validate profile-html blfs-patch-list wget-list test-links \
-   dump-commands  bootscripts
+   dump-commands  bootscripts systemd-units
 
 

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Wed Jun  1 13:41:14 2016        (r17423)
+++ trunk/BOOK/general.ent      Wed Jun  1 22:39:31 2016        (r17424)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "01">                   <!-- Always 2 digits -->
+<!ENTITY day          "02">                   <!-- Always 2 digits -->
 <!ENTITY month        "06">                   <!-- Always 2 digits -->
 <!ENTITY year         "2016">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "June 1st &year;">
+<!ENTITY releasedate  "June 2nd &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development] -->
@@ -70,6 +70,8 @@
 <!-- End LFS versions -->
 
 <!ENTITY blfs-bootscripts-version     "20160415">
+<!ENTITY systemd-units-version        "20160602">
+
 
 <!ENTITY blfs-wiki                    "http://wiki.&lfs-domainname;/blfs/wiki";>
 

Added: trunk/BOOK/general/sysutils/systemd.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/general/sysutils/systemd.xml     Wed Jun  1 22:39:31 2016        
(r17424)
@@ -0,0 +1,327 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY systemd-download-http 
"http://anduin.linuxfromscratch.org/sources/other/systemd/systemd-&systemd-version;.tar.xz";>
+  <!ENTITY systemd-download-ftp  " ">
+  <!ENTITY systemd-md5sum        "7fd9c7b1296104ccc0b8aee4be3d3c23">
+  <!ENTITY systemd-size          "3,748 KB">
+  <!ENTITY systemd-buildsize     "1.0 GB">
+  <!ENTITY systemd-time          "4.9 SBU">
+
+]>
+
+<sect1 id="systemd" xreflabel="Systemd-&systemd-version;" revision="systemd">
+  <?dbhtml filename="systemd.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Systemd-&systemd-version;</title>
+
+  <indexterm zone="systemd">
+    <primary sortas="a-systemd">systemd</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to systemd</title>
+
+    <para>
+      While <application>systemd</application> was installed when
+      building LFS, there are many features provided by the package that
+      were not included in the initial installation becasue
+      <application>Linux-PAM</application> was not yet installed.
+      The <application>systemd</application> package needs to be
+      rebuilt to provide a working <command>systemd-logind</command> service,
+      which provides many additonal features for dependent packages.
+    </para>
+    
+    &lfs79_checked;&gcc6_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&systemd-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&systemd-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &systemd-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &systemd-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &systemd-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &systemd-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">systemd Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="linux-pam"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended Runtime Dependency</bridgehead>
+    <para role="recommended">
+      <xref linkend="polkit"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="cacerts"/>,
+      <xref linkend="curl"/>,
+      <xref linkend="elfutils"/>,
+      <xref linkend="gnutls"/>,
+      <xref linkend="iptables"/>,
+      <xref linkend="libgcrypt"/>,
+      <xref linkend="libidn"/>,
+      <xref linkend="libxkbcommon"/>,
+      <xref linkend="python2"/> or
+      <xref linkend="python3"/>,
+      <xref linkend="qemu"/>,
+      <xref linkend="valgrind"/>,
+      <ulink 
url="https://www.kernel.org/pub/linux/utils/cryptsetup/";>cryptsetup</ulink>,
+      <ulink url="http://sourceforge.net/projects/gnu-efi/";>gnu-efi</ulink>,
+      <ulink 
url="https://www.kernel.org/pub/linux/utils/kernel/kexec/";>kexec-tools</ulink>,
+      <ulink 
url="https://www.gnu.org/software/libmicrohttpd/";>libmicrohttpd</ulink>,
+      <ulink 
url="http://sourceforge.net/projects/libseccomp/";>libseccomp</ulink>,
+      <ulink url="http://lxml.de/";>lxml</ulink> (Python Module),
+      <ulink url="https://code.google.com/p/lz4/";>lz4</ulink>,
+      <ulink url="http://fukuchi.org/works/qrencode/";>qrencode</ulink>,
+      <ulink 
url="http://sourceforge.net/projects/linuxquota/";>quota-tools</ulink> and
+      <ulink url="https://pypi.python.org/pypi/Sphinx";>Sphinx</ulink>
+    </para>
+
+    <note>
+      <para>
+        In order to build the <application>systemd</application>
+        <application>Python</application> module, the
+        <application>lxml</application> package
+        needs to be installed for the corresponding
+        <application>Python</application> version (2 or 3).
+        Note that <command>configure</command> defaults to
+        <application>Python 2</application>. In order to build
+        the module for <application>Python 3</application>,
+        make sure you pass the <envar>PYTHON=python3</envar>
+        environment variable to the <command>configure</command>
+        command below.
+      </para>
+    </note>
+
+    <bridgehead renderas="sect4">Optional (to rebuild the manual 
pages)</bridgehead>
+    <para role="optional">
+      <xref linkend="DocBook"/>,
+      <xref linkend="docbook-xsl"/> and
+      <xref linkend="libxslt"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/systemd"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of systemd</title>
+
+    <para>First, fix a potential security issue with framebuffer
+    devices:</para>
+
+<screen><userinput>sed -e 's@DRI and frame buffer@DRI@' \
+    -e '/SUBSYTEM==\"graphics\", KERNEL==\"fb\*\"/d' \
+    -i  src/login/70-uaccess.rules</userinput></screen>
+
+    <para>
+      Disable two tests that always fail:
+    </para>
+
+<screen><userinput>sed -e 's:test/udev-test.pl ::g'  \
+    -e 's:test-copy$(EXEEXT) ::g' \
+    -i Makefile.in</userinput></screen>
+
+    <para>
+      Rebuild <application>systemd</application> by running the
+      following commands:
+    </para>
+
+<screen><userinput>cc_cv_CFLAGS__flto=no                \
+./configure --prefix=/usr            \
+            --sysconfdir=/etc        \
+            --localstatedir=/var     \
+            --with-rootprefix=       \
+            --with-rootlibdir=/lib   \
+            --enable-split-usr       \
+            --disable-firstboot      \
+            --disable-ldconfig       \
+            --disable-sysusers       \
+            --without-python         \
+            --with-default-dnssec=no \
+            --docdir=/usr/share/doc/systemd-&systemd-version; &amp;&amp;
+make</userinput></screen>
+
+    <note>
+      <para>
+        For the best results, make sure you run the testsuite from
+        a system that is booted by the same
+        <application>systemd</application> version you are rebuilding.
+      </para>
+    </note>
+
+    <para>
+      To test the results, issue: <command>make -k check</command>.
+    </para>
+
+    <warning>
+      <para>
+        Installing the package will overwrite all files installed by
+        <application>systemd</application> in LFS. It is critical that
+        nothing uses either <application>systemd</application> or
+        <application>Udev</application> libraries during the installation.
+        The best way to ensure that these libraries are not being used is to
+        run the installation in rescue mode. To switch to rescue mode,
+        run the following command as the
+        <systemitem class="username">root</systemitem> user (from a TTY):
+      </para>
+
+<screen role="root"><userinput>systemctl start 
rescue.target</userinput></screen>
+    </warning>
+
+   <para>
+     Now, as the <systemitem class="username">root</systemitem> user:
+   </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+    <para>
+      Move NSS libraries to <filename class="directory">/lib</filename>
+      by running the following command as the <systemitem
+      class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>mv -v 
/usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib</userinput></screen>
+
+    <para>
+      Remove an unnecessary directory by running the following command
+      as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>rm -rfv /usr/lib/rpm</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring systemd</title>
+
+    <para>
+      The <filename>/etc/pam.d/system-sesion</filename> file needs to
+      be modified and a new file needs to be created in order for
+      <command>systemd-logind</command> to work correctly. Run the following
+      commands as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/system-session &lt;&lt; 
"EOF"
+<literal># Begin Systemd addition
+    
+session   required    pam_loginuid.so
+session   optional    pam_systemd.so
+
+# End Systemd addition</literal>
+EOF
+
+cat &gt; /etc/pam.d/systemd-user &lt;&lt; "EOF"
+<literal># Begin /etc/pam.d/systemd-user
+
+account  required pam_access.so
+account  include  system-account
+
+session  required pam_env.so
+session  required pam_limits.so
+session  include  system-session
+
+auth     required pam_deny.so
+password required pam_deny.so
+
+# End /etc/pam.d/systemd-user</literal>
+EOF</userinput></screen>
+
+    <para>
+      At this point, you should reload the systemd daemon, and reenter
+      multi-user mode with the following commands (as the
+      <systemitem class="username">root</systemitem> user):
+    </para>
+
+<screen role="root"><userinput>systemctl daemon-reload
+systemctl start multi-user.target</userinput></screen>
+
+    <warning><para>If upgrading from a previous version of systemd and an
+    initrd is used for system boot, you should generate a new initrd before
+    rebooting the system.</para></warning>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+      <para>
+        A list of the installed files, along with their short
+        descriptions can be found at
+        <ulink url="&lfs-root;/chapter06/systemd.html#contents-systemd"/>.
+      </para>
+
+      <para>
+        Listed below are the newly installed libraries and directories
+        along with short descriptions.
+      </para>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          None
+        </seg>
+        <seg>
+          pam_systemd.so
+          (in <filename class="directory">/lib/security</filename>)
+        </seg>
+        <seg>
+          None
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="pam_systemd">
+        <term><filename class="libraryfile">pam_systemd.so</filename></term>
+        <listitem>
+          <para>
+            is a PAM module used to register user sessions with the
+            <application>systemd</application> login manager,
+            <command>systemd-logind</command>.
+          </para>
+          <indexterm zone="systemd pam_systemd">
+            <primary sortas="c-pam_systemd">pam_systemd.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/sysutils/sysutils.xml
==============================================================================
--- trunk/BOOK/general/sysutils/sysutils.xml    Wed Jun  1 13:41:14 2016        
(r17423)
+++ trunk/BOOK/general/sysutils/sysutils.xml    Wed Jun  1 22:39:31 2016        
(r17424)
@@ -44,6 +44,10 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="sg3_utils.xml"/>
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="strigi.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="sysstat.xml"/>
+
+  <!-- systemd only -->
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="systemd.xml"/>
+
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="udisks.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="udisks2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="unrar.xml"/>

Modified: trunk/BOOK/introduction/important/bootscripts.xml
==============================================================================
--- trunk/BOOK/introduction/important/bootscripts.xml   Wed Jun  1 13:41:14 
2016        (r17423)
+++ trunk/BOOK/introduction/important/bootscripts.xml   Wed Jun  1 22:39:31 
2016        (r17424)
@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="bootscripts" 
xreflabel="blfs-bootscripts-&blfs-bootscripts-version;">
+<sect1 id="bootscripts" 
xreflabel="blfs-bootscripts-&blfs-bootscripts-version;" revision="sysv">
   <?dbhtml filename="bootscripts.html"?>
 
   <sect1info>

Modified: trunk/BOOK/introduction/important/important.xml
==============================================================================
--- trunk/BOOK/introduction/important/important.xml     Wed Jun  1 13:41:14 
2016        (r17423)
+++ trunk/BOOK/introduction/important/important.xml     Wed Jun  1 22:39:31 
2016        (r17424)
@@ -25,7 +25,13 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="building-notes.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="position.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="patches.xml"/>
+
+  <!-- sysv only -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="bootscripts.xml"/>
+
+  <!-- systemd only -->
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="systemd-units.xml"/>
+
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libraries.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="locale-issues.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="beyond.xml"/>

Added: trunk/BOOK/introduction/important/systemd-units.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/introduction/important/systemd-units.xml Wed Jun  1 22:39:31 
2016        (r17424)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="bootscripts" xreflabel="blfs-systemd-units-&systemd-units-version;" 
revision="systemd">
+  <?dbhtml filename="systemd-units.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>BLFS Systemd Units</title>
+
+  <indexterm zone="bootscripts">
+    <primary sortas="a-BLFS-Sytemd-Units">BLFS Systemd Units</primary>
+  </indexterm>
+
+  <indexterm zone="bootscripts">
+    <primary sortas="f-AA-General-Information">General Information</primary>
+  </indexterm>
+
+  <para>
+    The BLFS Systemd Units package contains the systemd unit files
+    that are used throughout the book.
+  </para>
+
+  <itemizedlist spacing="compact">
+    <title>Package Information</title>
+    <listitem>
+      <para>
+        Download: <ulink 
url="&downloads-root;/blfs-systemd-units-&systemd-units-version;.tar.xz"/>
+      </para>
+    </listitem>
+  </itemizedlist>
+
+  <para>
+    The BLFS Systemd Units package will be used throughout the BLFS book
+    for systemd unit files. Each systemd unit has a separate install target.
+    It is recommended that you keep the package source directory around until
+    completion of your BLFS system. When a systemd unit is requested from BLFS
+    Systemd Units, simply change to the directory, and as the
+    <systemitem class="username">root</systemitem> user, execute the given
+    <command>make 
install-<replaceable>&lt;systemd-unit&gt;</replaceable></command>
+    command. This command installs the systemd unit to its proper location
+    (along with any auxiliary configuration scripts) and also enables it by
+    default.
+  </para>
+
+  <note>
+    <para>
+      It is advisable to peruse each systemd unit before installation to
+      determine whether the installed files meet your needs.
+    </para>
+  </note>
+
+</sect1>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Wed Jun  1 13:41:14 
2016        (r17423)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Jun  1 22:39:31 
2016        (r17424)
@@ -43,6 +43,15 @@
     </listitem>
 
 -->
+    <listitem revision="systemd">
+      <para>June 2nd, 2016</para>
+      <itemizedlist>
+        <listitem revision="systemd">
+          <para>[dj] - Update to blfs-systemd-units-20160602.tar.xz.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>June 1st, 2016</para>
       <itemizedlist>
@@ -96,6 +105,9 @@
           <para>[igor] - Update to curl-7.49.1. Fixes
           <ulink url="&blfs-ticket-root;7898">#7898</ulink>.</para>
         </listitem>
+        <listitem revision="systemd">
+          <para>[dj] - Update to systemd-230.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Wed Jun  1 13:41:14 2016        (r17423)
+++ trunk/BOOK/packages.ent     Wed Jun  1 22:39:31 2016        (r17424)
@@ -242,6 +242,7 @@
 <!ENTITY sg3_utils-version            "1.42">
 <!ENTITY strigi-version               "0.7.8">
 <!ENTITY sysstat-version              "11.3.4">
+<!ENTITY systemd-version              "230">
 <!ENTITY udisks-version               "1.0.5">    <!-- stable lt .90 micro 
version -->
 <!ENTITY udisks2-version              "2.1.7">    <!-- stable lt .90 micro 
version -->
 <!ENTITY unrar-version                "5.3.11">
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to