Changeset 1118b17


Ignore:
Timestamp:
05/24/2016 09:24:59 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 7.10, 7.10-rc1, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, nosym, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
77ab7f3
Parents:
11ebea6
Message:

Create branches/merge in svn repo fo rtesting of merged LFS books

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
12 added
1 deleted
38 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r11ebea6 r1118b17  
    11BASEDIR = ~/lfs-book
     2SYSDDIR = ~/lfs-systemd
    23DUMPDIR = ~/lfs-commands
    34RENDERTMP = $(HOME)/tmp
     
    1415endif
    1516
    16 lfs: validate profile-html
     17sysv: validate profile-html
     18        $(Q)xsltproc --nonet                   \
     19      --output $(RENDERTMP)/lfs-html2.xml \
     20      --stringparam profile.revision sysv \
     21      stylesheets/lfs-xsl/profile.xsl     \
     22      $(RENDERTMP)/lfs-html.xml
     23
    1724        @echo "Generating chunked XHTML files..."
    18         $(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
    19           -stringparam rootid "$(ROOT_ID)" -stringparam base.dir $(BASEDIR)/ \
    20           stylesheets/lfs-chunked.xsl $(RENDERTMP)/lfs-html.xml
     25        $(Q)xsltproc --nonet                          \
     26      --stringparam chunk.quietly $(CHUNK_QUIET) \
     27      --stringparam rootid "$(ROOT_ID)"          \
     28      --stringparam base.dir $(BASEDIR)/         \
     29      stylesheets/lfs-chunked.xsl                \
     30      $(RENDERTMP)/lfs-html2.xml
    2131
    2232        @echo "Copying CSS code and images..."
     
    3848          true; \
    3949          /bin/bash obfuscate.sh $$filename; \
    40           sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
     50          sed -e "s@text/html@application/xhtml+xml@g" \
     51         -e "s/\xa9/\&copy;/ "                    \
     52         -i $$filename; \
    4153        done;
    4254
    4355        $(Q)$(MAKE) $(BASEDIR)/wget-list $(BASEDIR)/md5sums
     56
     57systemd: validated profile-html
     58        $(Q)xsltproc --nonet                      \
     59      --output $(RENDERTMP)/lfs-html2.xml    \
     60      --stringparam profile.revision systemd \
     61      stylesheets/lfs-xsl/profile.xsl        \
     62      $(RENDERTMP)/lfs-html.xml
     63
     64        @echo "Generating chunked XHTML files..."
     65        $(Q)xsltproc --nonet                          \
     66      --stringparam chunk.quietly $(CHUNK_QUIET) \
     67      --stringparam rootid "$(ROOT_ID)"          \
     68      --stringparam base.dir $(SYSDDIR)/         \
     69      stylesheets/lfs-chunked.xsl                \
     70      $(RENDERTMP)/lfs-html2.xml
     71
     72        @echo "Copying CSS code and images..."
     73        $(Q)if [ ! -e $(SYSDDIR)/stylesheets ]; then \
     74          mkdir -p $(SYSDDIR)/stylesheets; \
     75        fi;
     76        $(Q)cp stylesheets/lfs-xsl/*.css $(SYSDDIR)/stylesheets
     77
     78        $(Q)if [ ! -e $(SYSDDIR)/images ]; then \
     79          mkdir -p $(SYSDDIR)/images; \
     80        fi;
     81        $(Q)cp images/*.png $(SYSDDIR)/images
     82
     83        @echo "Running Tidy and obfuscate.sh..."
     84        $(Q)for filename in `find $(SYSDDIR) -name "*.html"`; do \
     85          tidy -config tidy.conf $$filename; \
     86          true; \
     87          /bin/bash obfuscate.sh $$filename; \
     88          sed -e "s@text/html@application/xhtml+xml@g" \
     89         -e "s/\xa9/\&copy;/ "                    \
     90         -i $$filename; \
     91        done;
     92
     93#       $(Q)$(MAKE) $(SYSDDIR)/wget-list $(SYSDDIR)/md5sumsd
    4494
    4595pdf: validate
     
    95145        @echo "Validation complete."
    96146
    97 profile-html: validate
     147validated: tmpdir
     148        @echo "Validating the book..."
     149        $(Q)xmllint --nonet --noent --xinclude --postvalid \
     150          -o $(RENDERTMP)/lfs-full.xml indexd.xml
     151        @echo "Validation complete."
     152
     153profile-html:
    98154        @echo "Generating profiled XML for XHTML..."
    99155        $(Q)xsltproc --nonet --stringparam profile.condition html \
     
    118174       $(BASEDIR)/md5sums
    119175
     176md5sumsd: $(SYSDDIR)/md5sumsd
     177$(SYSDDIR)/md5sumsd: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.ent patches.ent
     178        @echo "Generating md5sum file..."
     179        $(Q)mkdir -p $(SYSDDIR)
     180        $(Q)xsltproc --xinclude --nonet --output $(SYSDDIR)/md5sums \
     181            stylesheets/md5sum.xsl chapter03/chapter03.xml
     182
    120183dump-commands: validate
    121184        @echo "Dumping book commands..."
  • chapter01/changelog.xml

    r11ebea6 r1118b17  
    1919  book.</para>
    2020
     21  <para revision="systemd">A test</para>
     22
    2123  <itemizedlist>
    2224    <title>Changelog Entries:</title>
     
    3537      </itemizedlist>
    3638    </listitem>
     39
     40    Note:  If a change is only specific to sysv or systemd, then use
     41    <listitem revision="sysv"> or <listitem revision="systemd"> as
     42    appropriate for the entry or if needed the entire day's listitem.
    3743-->
    3844    <listitem>
  • chapter01/how.xml

    r11ebea6 r1118b17  
    8282  normal.</para>
    8383
    84   <para>To finish the installation, the LFS-Bootscripts are set up in
     84  <para>To finish the installation, the basic system configuration is set up in
    8585  <xref linkend="chapter-bootscripts"/>, and the kernel and boot loader are set
    8686  up in <xref linkend="chapter-bootable"/>. <xref linkend="chapter-finalizing"/>
  • chapter01/whatsnew.xml

    r11ebea6 r1118b17  
    5959      <para>DejaGNU &dejagnu-version;</para>
    6060    </listitem>
     61    <!--<listitem revision="systemd">
     62      <para>D-Bus-&dbus-version;</para>
     63    </listitem>-->
    6164    <!--<listitem>
    6265      <para>Diffutils &diffutils-version;</para>
    6366    </listitem>-->
    64     <!--<listitem>
     67    <!--<listitem revision="sysv">
    6568      <para>Eudev &eudev-version;</para>
    6669    </listitem>-->
     
    197200      <para>Shadow &shadow-version;</para>
    198201    </listitem>-->
    199     <!--<listitem>
     202    <!--<listitem revision="sysv">
    200203      <para>Sysklogd &sysklogd-version;</para>
    201204    </listitem>-->
    202     <!--<listitem>
     205    <!--<listitem revision="systemd">
     206      <para>Systemd &systemd-version;</para>
     207    </listitem>-->
     208    <!--<listitem revision="sysv">
    203209      <para>SysVinit &sysvinit-version;</para>
    204210    </listitem>-->
  • chapter02/creatingpartition.xml

    r11ebea6 r1118b17  
    3737  space. A 20 GB partition is a reasonable size to provide for growth.  The LFS
    3838  system itself will not take up this much room.  A large portion of this
    39   requirement is to provide sufficient free temporary storagei as well as
     39  requirement is to provide sufficient free temporary storage as well as
    4040  for adding additional capabilities after LFS is complete. Additionally, compiling
    4141  packages can require a lot of disk space which will be reclaimed after the
  • chapter03/packages.xml

    r11ebea6 r1118b17  
    113113      </listitem>
    114114    </varlistentry>
    115 <!--
    116     <varlistentry>
     115
     116    <varlistentry revision="systemd">
    117117      <term>D-Bus (&dbus-version;) - <token>&dbus-size;</token>:</term>
    118118      <listitem>
     
    122122      </listitem>
    123123    </varlistentry>
    124 -->
     124
    125125    <varlistentry>
    126126      <term>DejaGNU (&dejagnu-version;) - <token>&dejagnu-size;</token>:</term>
     
    141141    </varlistentry>
    142142
    143     <varlistentry>
     143    <varlistentry revision="sysv">
    144144      <term>Eudev (&eudev-version;) - <token>&eudev-size;</token>:</term>
    145145      <listitem>
     
    148148      </listitem>
    149149    </varlistentry>
    150 <!--
    151     <varlistentry>
    152       <term>Eudev-manpages (&eudev-version;) - <token>&eudev-manpages-size;</token>:</term>
    153       <listitem>
    154         <para>Download: <ulink url="&eudev-manpages-url;"/></para>
    155         <para>MD5 sum: <literal>&eudev-manpages-md5;</literal></para>
    156       </listitem>
    157     </varlistentry>
    158 -->
     150
    159151    <varlistentry>
    160152      <term>E2fsprogs (&e2fsprogs-version;) - <token>&e2fsprogs-size;</token>:</term>
     
    504496    </varlistentry>
    505497
    506     <!-- FIXME:
    507     <varlistentry>
    508       <term>Ncurses Rollup Patch (&ncurses-date;) - 328 KB:</term>
    509       <listitem>
    510         <para><ulink url="ftp://invisible-island.net/ncurses/&ncurses-version;/"/></para>
    511 
    512         <note>
    513           <para>Ncurses Rollup Patch (&ncurses-date;) may no longer be available
    514           at the listed location. The site administrators of the master download
    515           location occasionally remove older versions when new ones are released.
    516           There is no alternative download location yet.</para>
    517         </note>
    518       </listitem>
    519     </varlistentry>
    520     -->
    521 
    522498    <varlistentry>
    523499      <term>Patch (&patch-version;) - <token>&patch-size;</token>:</term>
     
    595571    </varlistentry>
    596572
    597     <varlistentry>
     573    <varlistentry revision="sysv">
    598574      <term>Sysklogd (&sysklogd-version;) - <token>&sysklogd-size;</token>:</term>
    599575      <listitem>
     
    603579      </listitem>
    604580    </varlistentry>
    605 <!--
    606     <varlistentry>
     581
     582    <varlistentry revision="systemd">
    607583      <term>Systemd (&systemd-version;) - <token>&systemd-size;</token>:</term>
    608584      <listitem>
     
    612588      </listitem>
    613589    </varlistentry>
    614 -->
    615     <varlistentry>
     590
     591    <varlistentry revision="sysv">
    616592      <term>Sysvinit (&sysvinit-version;) - <token>&sysvinit-size;</token>:</term>
    617593      <listitem>
  • chapter03/patches.xml

    r11ebea6 r1118b17  
    9191    </varlistentry>
    9292
    93     <varlistentry>
     93   <varlistentry revision="systemd">
     94      <term>Systemd Compat Patch - <token>&systemd-compat-patch-size;</token>:</term>
     95      <listitem>
     96        <para>Download: <ulink url="&patches-root;&systemd-compat-patch;"/></para>
     97        <para>MD5 sum: <literal>&systemd-compat-patch-md5;</literal></para>
     98      </listitem>
     99    </varlistentry>
     100
     101    <varlistentry revision="sysv">
    94102      <term>Sysvinit Consolidated Patch - <token>&sysvinit-consolidated-patch-size;</token>:</term>
    95103      <listitem>
  • chapter05/gcc-pass1.xml

    r11ebea6 r1118b17  
    197197      <varlistentry>
    198198        <term><parameter>--disable-decimal-float, --disable-threads,
    199         --disable-libatomic, --disable-libgomp, --disable-libmpx
     199        --disable-libatomic, --disable-libgomp, --disable-libmpx,
    200200        --disable-libquadmath, --disable-libssp, --disable-libvtv,
    201201        --disable-libstdcxx</parameter></term>
  • chapter05/glibc.xml

    r11ebea6 r1118b17  
    4343  <sect2 role="installation">
    4444    <title>Installation of Glibc</title>
    45 <!--
    46     <para>First fix a build problem that affects i386 systems:</para>
    4745
    48 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
    49 -->
    5046    <para>Fix some problems identified upstream:</para>
    5147
     
    8177        </listitem>
    8278      </varlistentry>
    83 <!--
    84       <varlistentry>
    85         <term><parameter>- -disable-profile</parameter></term>
    86         <listitem>
    87           <para>This builds the libraries without profiling information. Omit
    88           this option if profiling on the temporary tools is necessary.</para>
    89         </listitem>
    90       </varlistentry>
    91 -->
     79
    9280      <varlistentry>
    9381        <term><parameter>--enable-kernel=&min-kernel;</parameter></term>
     
    9886        </listitem>
    9987      </varlistentry>
    100 <!--
    101       <varlistentry>
    102         <term><parameter>- -enable-obsolete-rpc</parameter></term>
    103         <listitem>
    104           <para>This installs NIS and RPC related headers that are not
    105           installed by default. They are required to build GCC and by
    106           several BLFS packages.</para>
    107         </listitem>
    108       </varlistentry>
    109 -->
     88
    11089      <varlistentry>
    11190        <term><parameter>--with-headers=/tools/include</parameter></term>
     
    170149<screen><userinput remap="make">make</userinput></screen>
    171150
    172 <!--
    173     <para>This package does come with a test suite, however, it cannot be
    174     run at this time because we do not have a C++ compiler yet.</para>
    175 
    176     <note>
    177       <para>The test suite also requires locale data to be installed in order to run
    178       successfully. Locale data provides information to the system regarding
    179       such things as the date, time, and currency formats accepted and output by
    180       system utilities. If the test suites are not being run in this chapter
    181       (as per the recommendation), there is no need to install the locales now.
    182       The appropriate locales will be installed in the next chapter. To install
    183       the Glibc locales anyway, use instructions from <xref
    184       linkend="ch-system-glibc" role="."/></para>
    185     </note>
    186 -->
    187151    <para>Install the package:</para>
    188152
  • chapter06/acl.xml

    r11ebea6 r1118b17  
    6060    <para>Prepare Acl for compilation:</para>
    6161
    62 <screen><userinput remap="configure">./configure --prefix=/usr    \
     62<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr    \
    6363            --bindir=/bin    \
     64            --disable-static \
     65            --libexecdir=/usr/lib</userinput></screen>
     66
     67<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr    \
    6468            --disable-static \
    6569            --libexecdir=/usr/lib</userinput></screen>
  • chapter06/attr.xml

    r11ebea6 r1118b17  
    5454    <para>Prepare Attr for compilation:</para>
    5555
    56 <screen><userinput remap="configure">./configure --prefix=/usr \
     56<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
    5757            --bindir=/bin \
     58            --disable-static</userinput></screen>
     59
     60<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
    5861            --disable-static</userinput></screen>
    5962
  • chapter06/autoconf.xml

    r11ebea6 r1118b17  
    5757    several tests are skipped that use Automake. For full test coverage,
    5858    Autoconf can be re-tested after Automake has been installed.  In addition,
    59     two fail due to changes in libtool-2.4.3 and later.</para>
     59    two tests fail due to changes in libtool-2.4.3 and later.</para>
    6060
    6161    <para>Install the package:</para>
  • chapter06/coreutils.xml

    r11ebea6 r1118b17  
    138138sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
    139139
    140     <para>Some of the scripts in the LFS-Bootscripts package depend on
    141     <command>head</command>, <command>sleep</command>, and
     140    <para revision="sysv">Some of the scripts in the LFS-Bootscripts package
     141    depend on <command>head</command>, <command>sleep</command>, and
    142142    <command>nice</command>.  As <filename class="directory">/usr</filename>
    143143    may not be available during the early stages of booting, those binaries
    144144    need to be on the root partition:</para>
     145
     146    <para revision="systemd">Some packages in BLFS and beyond expect the
     147    following programs in <filename class="directory">/bin</filename>, so make
     148    sure they are placed there:</para>
    145149
    146150<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice,test,[} /bin</userinput></screen>
  • chapter06/createfiles.xml

    r11ebea6 r1118b17  
    147147  command:</para>
    148148
    149 <screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
     149<screen revision="sysv"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    150150<literal>root:x:0:0:root:/root:/bin/bash
    151151bin:x:1:1:bin:/dev/null:/bin/false
     
    155155EOF</userinput></screen>
    156156
     157<screen revision="systmed"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
     158<literal>root:x:0:0:root:/root:/bin/bash
     159bin:x:1:1:bin:/dev/null:/bin/false
     160daemon:x:6:6:Daemon User:/dev/null:/bin/false
     161messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
     162systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false
     163systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false
     164systemd-journal-remote:x:74:74:systemd Journal Remote:/:/bin/false
     165systemd-journal-upload:x:75:75:systemd Journal Upload:/:/bin/false
     166systemd-network:x:76:76:systemd Network Management:/:/bin/false
     167systemd-resolve:x:77:77:systemd Resolver:/:/bin/false
     168systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false
     169systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false
     170nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal>
     171EOF</userinput></screen>
     172
    157173  <para>The actual password for <systemitem class="username">root</systemitem>
    158174  (the <quote>x</quote> used here is just a placeholder) will be set later.</para>
     
    161177  command:</para>
    162178
    163 <screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
     179<screen revision="sysv"><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
    164180<literal>root:x:0:
    165181bin:x:1:daemon
     
    187203EOF</userinput></screen>
    188204
     205<screen revision="systemd"><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
     206<literal>root:x:0:
     207bin:x:1:daemon
     208sys:x:2:
     209kmem:x:3:
     210tape:x:4:
     211tty:x:5:
     212daemon:x:6:
     213floppy:x:7:
     214disk:x:8:
     215lp:x:9:
     216dialout:x:10:
     217audio:x:11:
     218video:x:12:
     219utmp:x:13:
     220usb:x:14:
     221cdrom:x:15:
     222adm:x:16:
     223messagebus:x:18:
     224systemd-journal:x:23:
     225input:x:24:
     226mail:x:34:
     227systemd-bus-proxy:x:72:
     228systemd-journal-gateway:x:73:
     229systemd-journal-remote:x:74:
     230systemd-journal-upload:x:75:
     231systemd-network:x:76:
     232systemd-resolve:x:77:
     233systemd-timesync:x:78:
     234systemd-coredump:x:79:
     235nogroup:x:99:
     236users:x:999:</literal>
     237EOF</userinput></screen>
     238
    189239  <para>The created groups are not part of any standard&mdash;they are groups
    190240  decided on in part by the requirements of the Udev configuration in this
  • chapter06/dbus.xml

    r11ebea6 r1118b17  
    4949    <para>Prepare D-Bus for compilation:</para>
    5050
    51 <screen><userinput remap="configure">./configure --prefix=/usr                       \
    52             --sysconfdir=/etc                   \
    53             --localstatedir=/var                \
    54             --docdir=/usr/share/doc/dbus-&dbus-version;  \
    55             --with-console-auth-dir=/run/console</userinput></screen>
     51<screen><userinput remap="configure">  ./configure --prefix=/usr                       \
     52              --sysconfdir=/etc                   \
     53              --localstatedir=/var                \
     54              --disable-static                    \
     55              --disable-doxygen-docs              \
     56              --disable-xml-docs                  \
     57              --docdir=/usr/share/doc/dbus-&dbus-version; \
     58              --with-console-auth-dir=/run/console</userinput></screen>
    5659
    5760    <variablelist>
     
    7578    packages that are not included in LFS. Instructions for running the
    7679    test suite can be found in the BLFS book at
    77     <ulink url="&blfs-root;/view/&short-version;/general/dbus.html"/>.</para>
     80    <ulink url="&blfs-book;general/dbus.html"/>.</para>
    7881
    7982    <para>Install the package:</para>
     
    8992ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
    9093
    91     <para>Create a symlink, so that D-Bus and Systemd can use the same
     94    <para>Create a symlink, so that D-Bus and systemd can use the same
    9295    <filename>machine-id</filename> file:</para>
    9396
    94 <screen><userinput remap="install">ln -sv /etc/machine-id /var/lib/dbus</userinput></screen>
    95 
    96     <para>Finally, generate a D-Bus UUID to avoid possible warnings
    97     when building some packages in BLFS:</para>
    98 
    99 <screen><userinput remap="install">dbus-uuidgen --ensure</userinput></screen>
     97<screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
    10098
    10199  </sect2>
     
    111109      <seglistitem>
    112110        <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
    113         dbus-send, and dbus-uuidgen</seg>
     111        dbus-run-session, dbus-send, and dbus-uuidgen</seg>
    114112        <seg>libdbus-1.{a,so}</seg>
    115113        <seg>/etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0,
    116114        /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version;,
    117         /var/lib/dbus</seg>
     115        and /var/lib/dbus</seg>
    118116      </seglistitem>
    119117    </segmentedlist>
     
    127125        <term><command>dbus-cleanup-sockets</command></term>
    128126        <listitem>
    129           <para>Used to clean up leftover sockets in a directory.</para>
     127          <para>Used to clean up leftover sockets in a directory</para>
    130128          <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
    131129            <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
     
    137135        <term><command>dbus-daemon</command></term>
    138136        <listitem>
    139           <para>The D-Bus message bus daemon.</para>
     137          <para>The D-Bus message bus daemon</para>
    140138          <indexterm zone="ch-system-dbus dbus-daemon">
    141139            <primary sortas="b-dbus-daemon">dbus-daemon</primary>
     
    148146        <listitem>
    149147          <para>Starts <command>dbus-daemon</command> from a shell
    150           script.</para>
     148          script</para>
    151149          <indexterm zone="ch-system-dbus dbus-launch">
    152150            <primary sortas="b-dbus-launch">dbus-launch</primary>
     
    158156        <term><command>dbus-monitor</command></term>
    159157        <listitem>
    160           <para>Monitors messages passing through a D-Bus message bus.</para>
     158          <para>Monitors messages passing through a D-Bus message bus</para>
    161159          <indexterm zone="ch-system-dbus dbus-monitor">
    162160            <primary sortas="b-dbus-monitor">dbus-monitor</primary>
     
    165163      </varlistentry>
    166164
     165      <varlistentry id="dbus-run-session">
     166        <term><command>dbus-run-session</command></term>
     167        <listitem>
     168          <para>Starts a session bus instance of <command>dbus-daemon</command>
     169          from a shell script and starts a specified program in that
     170          session</para>
     171          <indexterm zone="ch-system-dbus dbus-run-session">
     172            <primary sortas="b-dbus-run-session">dbus-run-session</primary>
     173          </indexterm>
     174        </listitem>
     175      </varlistentry>
     176
    167177      <varlistentry id="dbus-send">
    168178        <term><command>dbus-send</command></term>
    169179        <listitem>
    170           <para>Sends a message to a D-Bus message bus.</para>
     180          <para>Sends a message to a D-Bus message bus</para>
    171181          <indexterm zone="ch-system-dbus dbus-send">
    172182            <primary sortas="b-dbus-send">dbus-send</primary>
     
    178188        <term><command>dbus-uuidgen</command></term>
    179189        <listitem>
    180           <para>Generates a universally unique ID.</para>
     190          <para>Generates a universally unique ID</para>
    181191          <indexterm zone="ch-system-dbus dbus-uuidgen">
    182192            <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
     
    185195      </varlistentry>
    186196
     197      <varlistentry id="libdbus-1">
     198        <term><filename class="libraryfile">libdbus-1</filename></term>
     199        <listitem>
     200          <para>Contains API functions used to communicate with the D-Bus
     201          message bus</para>
     202          <indexterm zone="ch-system-dbus libdbus-1">
     203            <primary sortas="c-libdbus-1">libdbus-1</primary>
     204          </indexterm>
     205        </listitem>
     206      </varlistentry>
     207
    187208    </variablelist>
    188209
  • chapter06/diffutils.xml

    r11ebea6 r1118b17  
    5858<screen><userinput remap="test">make check</userinput></screen>
    5959
    60     <para>The test-update-copyright.sh failure can be ignored.</para>
     60    <para>The test-update-copyright.sh failure can be safely ignored.</para>
    6161
    6262    <para>Install the package:</para>
  • chapter06/e2fsprogs.xml

    r11ebea6 r1118b17  
    522522        </listitem>
    523523      </varlistentry>
    524 <!--
    525       <varlistentry id="libquota">
    526         <term><filename class="libraryfile">libquota</filename></term>
    527         <listitem>
    528           <para>Provides an interface for creating and updating quota files
    529           and ext4 superblock fields</para>
    530           <indexterm zone="ch-system-e2fsprogs libquota">
    531             <primary sortas="c-libquota">libquota</primary>
    532           </indexterm>
    533         </listitem>
    534       </varlistentry>
    535 -->
     524
    536525      <varlistentry id="libss">
    537526        <term><filename class="libraryfile">libss</filename></term>
  • chapter06/findutils.xml

    r11ebea6 r1118b17  
    7474<screen><userinput remap="install">make install</userinput></screen>
    7575
    76     <para>Some of the scripts in the LFS-Bootscripts package depend on
    77     <command>find</command>.  As <filename class="directory">/usr</filename>
    78     may not be available during the early stages of booting, this program
    79     needs to be on the root partition.  The <command>updatedb</command>
    80     script also needs to be modified to correct an explicit path:</para>
     76    <para revision="sysv">Some of the scripts in the LFS-Bootscripts package
     77    depend on <command>find</command>.  As <filename
     78    class="directory">/usr</filename> may not be available during the early
     79    stages of booting, this program needs to be on the root partition.  The
     80    <command>updatedb</command> script also needs to be modified to correct an
     81    explicit path:</para>
     82
     83    <para revision="systemd"> Some packages in BLFS and beyond expect the
     84    <command>find</command> program in <filename
     85    class="directory">/bin</filename>, so make sure it's placed there:</para>
    8186
    8287<screen><userinput remap="install">mv -v /usr/bin/find /bin
  • chapter06/glibc.xml

    r11ebea6 r1118b17  
    153153<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
    154154mkdir -pv /var/cache/nscd</userinput></screen>
     155
     156    <para revision="systemd">Install the systemd support files for
     157    <command>nscd</command>:</para>
     158
     159    <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
     160install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
    155161
    156162    <para>Next, install the locales that can make the system respond in a
     
    327333    running:</para>
    328334
    329 <screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
     335<screen revision="sysv"><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
     336
     337<screen revision="systemd"><userinput>ln -sfv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
    330338
    331339    <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
     
    563571        </listitem>
    564572      </varlistentry>
    565 <!--
    566       <varlistentry id="pcprofiledump">
    567         <term><command>pcprofiledump</command></term>
    568         <listitem>
    569           <para>Dumps information generated by PC profiling</para>
    570           <indexterm zone="ch-system-glibc pcprofiledump">
    571             <primary sortas="b-pcprofiledump">pcprofiledump</primary>
    572           </indexterm>
    573         </listitem>
    574       </varlistentry>
    575 -->
     573
    576574      <varlistentry id="pldd">
    577575        <term><command>pldd</command></term>
     
    583581        </listitem>
    584582      </varlistentry>
    585 <!--
    586       <varlistentry id="pt_chown">
    587         <term><command>pt_chown</command></term>
    588         <listitem>
    589           <para>A helper program for <command>grantpt</command> to set the owner,
    590           group and access permissions of a slave pseudo terminal</para>
    591           <indexterm zone="ch-system-glibc pt_chown">
    592             <primary sortas="b-pt_chown">pt_chown</primary>
    593           </indexterm>
    594         </listitem>
    595       </varlistentry>
    596 -->
     583
    597584      <varlistentry id="rpcgen">
    598585        <term><command>rpcgen</command></term>
     
    838825        </listitem>
    839826      </varlistentry>
    840 <!--
    841       <varlistentry id="libpcprofile">
    842         <term><filename class="libraryfile">libpcprofile</filename></term>
    843         <listitem>
    844           <para>Contains profiling functions used to track the amount of CPU
    845           time spent in specific source code lines</para>
    846           <indexterm zone="ch-system-glibc libpcprofile">
    847             <primary sortas="c-libpcprofile">libpcprofile</primary>
    848           </indexterm>
    849         </listitem>
    850       </varlistentry>
    851 -->
     827
    852828      <varlistentry id="libpthread">
    853829        <term><filename class="libraryfile">libpthread</filename></term>
  • chapter06/gmp.xml

    r11ebea6 r1118b17  
    9393 
    9494    <caution><para>The code in gmp is highly optimized for the processor where
    95     it is built. Occasionally the code that detects the processor misidentifies
     95    it is built. Occasionally, the code that detects the processor misidentifies
    9696    the system capabilities and there will be errors in the tests or other
    9797    applications using the gmp libraries with the message "Illegal
  • chapter06/m4.xml

    r11ebea6 r1118b17  
    5353<screen><userinput remap="test">make check</userinput></screen>
    5454
    55     <para>The test-update-copyright.sh failure can be ignored.</para>
     55    <para>The test-update-copyright.sh failure can safely be ignored.</para>
    5656
    5757    <para>Install the package:</para>
  • chapter06/man-db.xml

    r11ebea6 r1118b17  
    9292<screen><userinput remap="install">make install</userinput></screen>
    9393
     94    <para>Remove a reference to a non-existent user:</para>
     95
     96<screen><userinput remap="install">sed -i "s:man root:root root:g" /usr/lib/tmpfiles.d/man-db.conf</userinput></screen>
     97
    9498  </sect2>
    9599
  • chapter06/mpfr.xml

    r11ebea6 r1118b17  
    4141  <sect2 role="installation">
    4242    <title>Installation of MPFR</title>
    43 <!--
    44     <para>First, apply the following patch to fix various bugs that have been
    45     addressed upstream:</para>
    4643
    47 <screen><userinput remap="pre">patch -Np1 -i ../&mpfr-upstream-patch;</userinput></screen>
    48 -->
    4944    <para>Prepare MPFR for compilation:</para>
    5045
  • chapter06/ncurses.xml

    r11ebea6 r1118b17  
    143143      <para>The instructions above don't create non-wide-character Ncurses
    144144      libraries since no package installed by compiling from sources would link
    145       against them at runtime. Currently, the only known binary-only
    146       applications that link against non-wide-character Ncurses require version
    147       5.  If you must have such libraries because of some binary-only
     145      against them at runtime. However, the only known binary-only
     146      applications that link against non-wide-character Ncurses libraries
     147      require version 5.  If you must have such libraries because of some binary-only
    148148      application or to be compliant with LSB, build the package again with the
    149149      following commands:</para>
  • chapter06/pkgmgt.xml

    r11ebea6 r1118b17  
    261261    <filename>/etc/passwd</filename>,
    262262    <filename>/etc/group</filename>,
    263     <filename>/etc/shadow</filename>,
    264     <filename>/etc/ld.so.conf</filename>,
    265     <filename>/etc/sysconfig/rc.site</filename>,
    266     <filename>/etc/sysconfig/network</filename>, and
    267     <filename>/etc/sysconfig/ifconfig.eth0</filename>.
     263    <phrase revision="systemd">
     264      <filename>/etc/shadow</filename>, and
     265      <filename>/etc/ld.so.conf</filename>.
     266    </phrase>
     267    <phrase revision="sysv">
     268      <filename>/etc/shadow</filename>,
     269      <filename>/etc/ld.so.conf</filename>,
     270      <filename>/etc/sysconfig/rc.site</filename>,
     271      <filename>/etc/sysconfig/network</filename>, and
     272      <filename>/etc/sysconfig/ifconfig.eth0</filename>.
     273    </phrase>
    268274    </para>
    269275
     
    272278    configuration.</para>
    273279
    274     <note><para>There have been some reports of issues when copying between 
    275     similar but not identical architectures.  For instance the instruction set
    276     for Intel architectures is not identical with AMD processors and later
    277     versions of some processors may have instructions not available in
     280    <note><para>There have been some reports of issues when copying between
     281    similar but not identical architectures. For instance, the instruction set
     282    for an Intel system is not identical with an AMD processor and later
     283    versions of some processors may have instructions that are unavailable in
    278284    earlier versions.</para></note>
    279285
  • chapter06/procps.xml

    r11ebea6 r1118b17  
    4343    <para>Now prepare procps-ng for compilation:</para>
    4444
    45 <screen><userinput remap="configure">./configure --prefix=/usr                            \
     45<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr                            \
    4646            --exec-prefix=                           \
    4747            --libdir=/usr/lib                        \
     
    4949            --disable-static                         \
    5050            --disable-kill</userinput></screen>
     51
     52<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr                            \
     53            --exec-prefix=                           \
     54            --libdir=/usr/lib                        \
     55            --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \
     56            --disable-static                         \
     57            --disable-kill                           \
     58            --with-systemd</userinput></screen>
    5159
    5260    <variablelist>
  • chapter06/readline.xml

    r11ebea6 r1118b17  
    107107      <seglistitem>
    108108        <seg>libhistory.so and libreadline.so</seg>
    109         <seg>/usr/include/readline and
     109        <seg>/usr/include/readline, /usr/share/readline, and
    110110        /usr/share/doc/readline-&readline-version;</seg>
    111111      </seglistitem>
  • chapter06/systemd.xml

    r11ebea6 r1118b17  
    1818
    1919  <indexterm zone="ch-system-systemd">
    20     <primary sortas="a-Systemd">Systemd</primary>
     20    <primary sortas="a-systemd">systemd</primary>
    2121  </indexterm>
    2222
     
    2424    <title/>
    2525
    26     <para>The Systemd package contains programs for controlling the startup,
     26    <para>The systemd package contains programs for controlling the startup,
    2727    running, and shutdown of the system.</para>
    2828
     
    3939
    4040  <sect2 role="installation">
    41     <title>Installation of Systemd</title>
    42 
    43     <note><para>If systemd is not desired at all, it can be skipped.  However a
    44     udev replacement must be installed.  See the hint at <ulink
    45     url="http://www.linuxfromscratch.org/hints/downloads/files/eudev-alt-hint.txt"/>
    46     to find procedures to install
    47     <application>eudev</application>.</para></note>
    48 
    49     <para>First, create a file to allow Systemd to build when using Util-Linux
    50     built in Chapter 5:</para>
     41    <title>Installation of systemd</title>
     42
     43    <para>First, fix a build error when using Util-Linux built in
     44    Chapter 5:</para>
     45
     46<screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
     47
     48    <para>Apply the following patch so that compat
     49    <command>pkg-config</command> files get installed without installing compat
     50    libs which are useless on LFS:</para>
     51
     52<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
     53
     54    <para>Disable two tests that always fail:</para>
     55
     56<screen><userinput remap="pre">sed -e 's@test/udev-test.pl @@'  \
     57    -e 's@test-copy$(EXEEXT) @@' \
     58    -i Makefile.in</userinput></screen>
     59
     60    <para>Rebuild generated files after modifying Makefile.am and
     61    Makefile.in:</para>
     62
     63<screen><userinput remap="pre">autoreconf -fi</userinput></screen>
     64
     65    <para>Create a file to allow systemd to build when using Util-Linux
     66    built in Chapter 5, to disable LTO by default, and to build without
     67    xlstproc:</para>
    5168
    5269<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
    5370<literal>KILL=/bin/kill
     71MOUNT_PATH=/bin/mount
     72UMOUNT_PATH=/bin/umount
    5473HAVE_BLKID=1
    5574BLKID_LIBS="-lblkid"
    5675BLKID_CFLAGS="-I/tools/include/blkid"
    57 cc_cv_CFLAGS__flto=no</literal>
     76HAVE_LIBMOUNT=1
     77MOUNT_LIBS="-lmount"
     78MOUNT_CFLAGS="-I/tools/include/libmount"
     79cc_cv_CFLAGS__flto=no
     80XSLTPROC="/usr/bin/xsltproc"</literal>
    5881EOF</userinput></screen>
    5982
    60     <para>Additionally, fix a build error when using Util-Linux built in
    61     Chapter 5:</para>
    62 
    63 <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
    64 
    65     <para>Apply a patch so that compat <command>pkg-config</command> files get
    66     installed without installing compat libs which are useless on LFS:</para>
    67 
    68 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
    69 
    70     <para>Prepare Systemd for compilation:</para>
    71 
    72 <screen><userinput remap="configure">./configure --prefix=/usr                                           \
    73             --sysconfdir=/etc                                       \
    74             --localstatedir=/var                                    \
    75             --config-cache                                          \
    76             --with-rootprefix=                                      \
    77             --with-rootlibdir=/lib                                  \
    78             --enable-split-usr                                      \
    79             --disable-gudev                                         \
    80             --without-python                                        \
    81             --docdir=/usr/share/doc/systemd-&systemd-version;                     \
    82             --with-dbuspolicydir=/etc/dbus-1/system.d               \
    83             --with-dbusinterfacedir=/usr/share/dbus-1/interfaces    \
    84             --with-dbussessionservicedir=/usr/share/dbus-1/services \
    85             --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     83    <para>LTO is disabled by default because it causes
     84    <command>systemd</command> and other auxiliary programs to link to
     85    <filename class="libraryfile">libgcc_s.so</filename>, slows the build down
     86    and makes the compiled code larger.</para>
     87
     88    <para>Prepare systemd for compilation:</para>
     89
     90<screen><userinput remap="configure">./configure --prefix=/usr          \
     91            --sysconfdir=/etc      \
     92            --localstatedir=/var   \
     93            --config-cache         \
     94            --with-rootprefix=     \
     95            --with-rootlibdir=/lib \
     96            --enable-split-usr     \
     97            --disable-firstboot    \
     98            --disable-ldconfig     \
     99            --disable-sysusers     \
     100            --without-python       \
     101            --docdir=/usr/share/doc/systemd-&systemd-version;</userinput></screen>
    86102
    87103    <variablelist>
     
    109125        <term><parameter>--enable-split-usr</parameter></term>
    110126        <listitem>
    111           <para>This switch ensures that Systemd will work on
     127          <para>This switch ensures that systemd will work on
    112128          systems where /bin, /lib and /sbin directories are not
    113129          symlinks to their /usr counterparts.</para>
     
    116132
    117133      <varlistentry>
    118         <term><parameter>--disable-gudev --without-python</parameter></term>
    119         <listitem>
    120           <para>These switches disable optional features because
    121           LFS does not provide their dependencies.</para>
     134        <term><parameter>--without-python</parameter></term>
     135        <listitem>
     136          <para>This switch prevents <command>configure</command>
     137          from trying to use Python which isn't built
     138          in LFS.</para>
    122139        </listitem>
    123140      </varlistentry>
    124141
    125142      <varlistentry>
    126         <term><parameter>--with-dbus*</parameter></term>
    127         <listitem>
    128           <para>These switches ensure that D-Bus configuratil files
    129           get installed in the correct locations.</para>
     143        <term><parameter>--disable-firstboot</parameter></term>
     144        <listitem>
     145          <para>This switch prevents installation of systemd
     146          services responsible for setting up the system for
     147          the first time. They are not useful for LFS because
     148          everything is done manually.</para>
     149        </listitem>
     150      </varlistentry>
     151
     152      <varlistentry>
     153        <term><parameter>--disable-ldconfig</parameter></term>
     154        <listitem>
     155          <para>This switch prevents installation of a systemd
     156          unit that runs <command>ldconfig</command> at
     157          boot, making the boot time longer. Remove it if the
     158          described feature is desired, even though it's not
     159          useful for source distributions such as LFS.</para>
     160        </listitem>
     161      </varlistentry>
     162
     163      <varlistentry>
     164        <term><parameter>--disable-sysusers</parameter></term>
     165        <listitem>
     166          <para>This switch prevents installation of systemd
     167          services responsible for setting up the
     168          <filename>/etc/group</filename> and
     169          <filename>/etc/passwd</filename> files. Both files
     170          were created early in this chapter.</para>
    130171        </listitem>
    131172      </varlistentry>
     
    137178<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
    138179
    139     <para>First prevent few broken test cases from running:</para>
    140 
    141 <screen><userinput remap="test">sed -e "s:test/udev-test.pl::g"            \
    142     -e "s:test-bus-cleanup\$(EXEEXT) ::g"  \
    143     -e "s:test-bus-gvariant\$(EXEEXT) ::g" \
    144     -i Makefile</userinput></screen>
    145 
    146     <para>To test the results, issue:</para>
    147 
    148 <screen><userinput remap="test">make -k check</userinput></screen>
    149 
    150     <para>Note that some tests might fail because the test are being run in a
    151     chroot environment. For full test coverage, the test suite should be run
    152     from a system booted using Systemd.</para>
     180    <para>This package has a test suite, but it can only be run after the
     181    package has been installed.</para>
    153182
    154183    <para>Install the package:</para>
     
    156185<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    157186
    158     <para>Move NSS myhostname library to <filename
    159     class="directory">/lib</filename>:</para>
    160 
    161 <screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen>
     187    <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para>
     188
     189<screen><userinput remap="install">mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib</userinput></screen>
    162190
    163191    <para>Remove an unnecessary directory:</para>
     
    165193<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
    166194
    167     <para>Create the Sysvinit compatibility symlinks, and move some man pages
    168     and a library that conflict with <xref linkend="ch-system-sysvinit"/> so
    169     both systems can be installed side-by-side:</para>
     195    <para>Create the Sysvinit compatibility symlinks, so systemd is used
     196    as the default init system:</para>
    170197
    171198<screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do
    172   ln -sfv ../bin/systemctl /sbin/${tool}-systemd
    173   mv -v /usr/share/man/man8/${tool}.8 /usr/share/man/man8/${tool}-systemd.8
     199     ln -sfv ../bin/systemctl /sbin/${tool}
    174200done
    175 
    176 ln -sfv ../lib/systemd/systemd /sbin/init-systemd
    177 mv -v /etc/init.d /etc/init.d-systemd</userinput></screen>
    178 
     201ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
     202
     203<!--
    179204    <para>Remove a reference to a non-existent group:</para>
    180205
    181206<screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
     207-->
    182208
    183209    <para>Create the <filename>/etc/machine-id</filename> file needed by
    184     Journald:</para>
     210    <command>systemd-journald</command>:</para>
    185211
    186212<screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
    187213
    188     <para>Finally install some LFS specific udev rules:</para>
    189 
    190 <screen><userinput remap="install">tar -xf ../&udev-lfs-version;.tar.bz2
    191 make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
     214    <para>Since the testsuite largely depends on the host system kernel
     215    configuration, some tests may fail. It also needs a modification in
     216    order not to look for a program that will be installed by Util-Linux
     217    package later in this chapter. To test the results, issue:</para>
     218
     219<screen><userinput remap="test">sed -i "s:minix:ext4:g" src/test/test-path-util.c
     220make LD_LIBRARY_PATH=/tools/lib -k check</userinput></screen>
    192221
    193222  </sect2>
    194223
    195224  <sect2 id="contents-systemd" role="content">
    196     <title>Contents of Systemd</title>
     225    <title>Contents of systemd</title>
    197226
    198227    <segmentedlist>
     
    202231
    203232      <seglistitem>
    204         <seg>bootctl, busctl, halt, hostnamectl, init, journalctl, kernel-install,
    205         localectl, loginctl, machinectl, poweroff, reboot, runlevel, shutdown,
    206         systemctl, systemd-analyze, systemd-ask-password, systemd-cat, systemd-cgls,
    207         systemd-cgtop, systemd-coredumpctl, systemd-delta, systemd-detect-virt,
    208         systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
    209         systemd-run, systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
     233        <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
     234        kernel-install, localectl, loginctl, machinectl, networkctl, poweroff,
     235        reboot, runlevel, shutdown, systemctl, systemd-analyze,
     236        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
     237        systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
     238        systemd-inhibit, systemd-machine-id-setup, systemd-notify,
     239        systemd-nspawn, systemd-path, systemd-resolve, systemd-run,
     240        systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
    210241        telinit, timedatectl, and udevadm</seg>
    211 
    212         <seg>libnss_myhostname.so.2, libsystemd.so, libudev.so</seg>
     242        <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
     243        libnss_resolve.so.2, libsystemd.so, and libudev.so</seg>
    213244        <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
    214245        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
     
    216247        /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
    217248        /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
    218         /usr/share/doc/systemd-&systemd-version;, /usr/share/systemd,
    219         /var/lib/systemd, /var/log/journal</seg>
     249        /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
     250        /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
    220251      </seglistitem>
    221252    </segmentedlist>
     
    229260        <term><command>bootctl</command></term>
    230261        <listitem>
    231           <para>used to query the firmware and boot manager settings.</para>
     262          <para>used to query the firmware and boot manager settings</para>
    232263          <indexterm zone="ch-system-systemd bootctl">
    233264            <primary sortas="b-bootctl">bootctl</primary>
     
    239270        <term><command>busctl</command></term>
    240271        <listitem>
    241           <para>used to introspect and monitor the D-Bus bus.</para>
     272          <para>Used to introspect and monitor the D-Bus bus</para>
    242273          <indexterm zone="ch-system-systemd busctl">
    243274            <primary sortas="b-busctl">busctl</primary>
     275          </indexterm>
     276        </listitem>
     277      </varlistentry>
     278
     279      <varlistentry id="coredumpctl">
     280        <term><command>coredumpctl</command></term>
     281        <listitem>
     282          <para>Used to retrieve coredumps from the systemd Journal</para>
     283          <indexterm zone="ch-system-systemd coredumpctl">
     284            <primary sortas="b-coredumpctl">coredumpctl</primary>
    244285          </indexterm>
    245286        </listitem>
     
    253294          then it tells the kernel to halt the system; it notes in the
    254295          file <filename>/var/log/wtmp</filename> that the system is being
    255           brought down.</para>
     296          brought down</para>
    256297          <indexterm zone="ch-system-systemd halt">
    257298            <primary sortas="b-halt">halt</primary>
     
    263304        <term><command>hostnamectl</command></term>
    264305        <listitem>
    265           <para>used to query and change the system hostname and related
    266           settings.</para>
     306          <para>Used to query and change the system hostname and related
     307          settings</para>
    267308          <indexterm zone="ch-system-systemd hostnamectl">
    268309            <primary sortas="b-hostnamectl">hostnamectl</primary>
     
    276317          <para>The first process to be started when the kernel has initialized
    277318          the hardware which takes over the boot process and starts all the
    278           proceses it is instructed to.</para>
     319          proceses it is instructed to</para>
    279320          <indexterm zone="ch-system-systemd init">
    280321            <primary sortas="b-init">init</primary>
     
    286327        <term><command>journalctl</command></term>
    287328        <listitem>
    288           <para>used to query the contents of the Systemd Journal.</para>
     329          <para>Used to query the contents of the systemd Journal</para>
    289330          <indexterm zone="ch-system-systemd journalctl">
    290331            <primary sortas="b-journalctl">journalctl</primary>
     
    296337        <term><command>kernel-install</command></term>
    297338        <listitem>
    298           <para>used to add and remove kernel and initramfs images to and
    299           from /boot.</para>
     339          <para>Used to add and remove kernel and initramfs images to and
     340          from /boot</para>
    300341          <indexterm zone="ch-system-systemd kernel-install">
    301342            <primary sortas="b-kernel-install">kernel-install</primary>
     
    307348        <term><command>localectl</command></term>
    308349        <listitem>
    309           <para>used to query and change the system locale and keyboard layout
    310           settings.</para>
     350          <para>Used to query and change the system locale and keyboard layout
     351          settings</para>
    311352          <indexterm zone="ch-system-systemd localectl">
    312353            <primary sortas="b-localectl">localectl</primary>
     
    318359        <term><command>loginctl</command></term>
    319360        <listitem>
    320           <para>used to introspect and control the state of the Systemd Login
    321           Manager.</para>
     361          <para>Used to introspect and control the state of the systemd Login
     362          Manager</para>
    322363          <indexterm zone="ch-system-systemd loginctl">
    323364            <primary sortas="b-loginctl">loginctl</primary>
     
    329370        <term><command>machinectl</command></term>
    330371        <listitem>
    331           <para>used to introspect and control the state of the Systemd Virtual
     372          <para>Used to introspect and control the state of the systemd Virtual
    332373          Machine and Container Registration Manager</para>
    333374          <indexterm zone="ch-system-systemd machinectl">
     
    337378      </varlistentry>
    338379
     380      <varlistentry id="networkctl">
     381        <term><command>networkctl</command></term>
     382        <listitem>
     383          <para>Used to introspect the state of the network links as seen by
     384          systemd-networkd</para>
     385          <indexterm zone="ch-system-systemd networkctl">
     386            <primary sortas="b-networkctl">networkctl</primary>
     387          </indexterm>
     388        </listitem>
     389      </varlistentry>
     390
    339391      <varlistentry id="poweroff">
    340392        <term><command>poweroff</command></term>
    341393        <listitem>
    342394          <para>Tells the kernel to halt the system and switch off the computer
    343           (see <command>halt</command>).</para>
     395          (see <command>halt</command>)</para>
    344396          <indexterm zone="ch-system-systemd poweroff">
    345397            <primary sortas="b-poweroff">poweroff</primary>
     
    352404        <listitem>
    353405          <para>Tells the kernel to reboot the system (see
    354           <command>halt</command>).</para>
     406          <command>halt</command>)</para>
    355407          <indexterm zone="ch-system-systemd reboot">
    356408            <primary sortas="b-reboot">reboot</primary>
     
    363415        <listitem>
    364416          <para>Reports the previous and the current run-level, as noted in the
    365           last run-level record in <filename>/var/run/utmp</filename>.</para>
     417          last run-level record in <filename>/var/run/utmp</filename></para>
    366418          <indexterm zone="ch-system-systemd runlevel">
    367419            <primary sortas="b-runlevel">runlevel</primary>
     
    374426        <listitem>
    375427          <para>Brings the system down in a secure way, signaling all processes
    376           and notifying all logged-in users.</para>
     428          and notifying all logged-in users</para>
    377429          <indexterm zone="ch-system-systemd shutdown">
    378430            <primary sortas="b-shutdown">shutdown</primary>
     
    384436        <term><command>systemctl</command></term>
    385437        <listitem>
    386           <para>used to introspect and control the state of the Systemd system and
    387           service manager.</para>
     438          <para>Used to introspect and control the state of the systemd system
     439          and service manager</para>
    388440          <indexterm zone="ch-system-systemd systemctl">
    389441            <primary sortas="b-systemctl">systemctl</primary>
     
    395447        <term><command>systemd-analyze</command></term>
    396448        <listitem>
    397           <para>used to determine system boot-up performance of the current boot.
    398           </para>
     449          <para>Used to determine system boot-up performance of the current
     450          boot</para>
    399451          <indexterm zone="ch-system-systemd systemd-analyze">
    400452            <primary sortas="b-systemd-analyze">systemd-analyze</primary>
     
    406458        <term><command>systemd-ask-password</command></term>
    407459        <listitem>
    408           <para>used to query a system password or passphrase from the user, using a
    409           question message specified on the command line.</para>
     460          <para>Used to query a system password or passphrase from the user,
     461          using a question message specified on the command line</para>
    410462          <indexterm zone="ch-system-systemd systemd-ask-password">
    411463            <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
     
    417469        <term><command>systemd-cat</command></term>
    418470        <listitem>
    419           <para>used to connect STDOUT and STDERR of a process with the Journal.
     471          <para>Used to connect STDOUT and STDERR of a process with the Journal
    420472          </para>
    421473          <indexterm zone="ch-system-systemd systemd-cat">
     
    428480        <term><command>systemd-cgls</command></term>
    429481        <listitem>
    430           <para>recursively shows the contents of the selected Linux control group
    431           hierarchy in a tree.</para>
     482          <para>Recursively shows the contents of the selected Linux control
     483          group hierarchy in a tree</para>
    432484          <indexterm zone="ch-system-systemd systemd-cgls">
    433485            <primary sortas="b-systemd-cgls">systemd-cgls</primary>
     
    439491        <term><command>systemd-cgtop</command></term>
    440492        <listitem>
    441           <para>shows the top control groups of the local Linux control group hierarchy,
    442           ordered by their CPU, memory and disk I/O load.</para>
     493          <para>Shows the top control groups of the local Linux control group
     494          hierarchy, ordered by their CPU, memory and disk I/O load</para>
    443495          <indexterm zone="ch-system-systemd systemd-cgtop">
    444496            <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
     
    447499      </varlistentry>
    448500
    449       <varlistentry id="systemd-coredumpctl">
    450         <term><command>systemd-coredumpctl</command></term>
    451         <listitem>
    452           <para>used to retrieve coredumps from the Systemd Journal</para>
    453           <indexterm zone="ch-system-systemd systemd-coredumpctl">
    454             <primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary>
    455           </indexterm>
    456         </listitem>
    457       </varlistentry>
    458 
    459501      <varlistentry id="systemd-delta">
    460502        <term><command>systemd-delta</command></term>
    461503        <listitem>
    462           <para>used to identify and compare configuration files in
     504          <para>Used to identify and compare configuration files in
    463505          <filename class="directory">/etc</filename> that override default
    464           counterparts in <filename class="directory">/usr</filename>.</para>
     506          counterparts in <filename class="directory">/usr</filename></para>
    465507          <indexterm zone="ch-system-systemd systemd-delta">
    466508            <primary sortas="b-systemd-delta">systemd-delta</primary>
     
    472514        <term><command>systemd-detect-virt</command></term>
    473515        <listitem>
    474           <para>detects execution in a virtualized environment.</para>
     516          <para>Detects execution in a virtualized environment</para>
    475517          <indexterm zone="ch-system-systemd systemd-detect-virt">
    476518            <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
     
    479521      </varlistentry>
    480522
     523      <varlistentry id="systemd-escape">
     524        <term><command>systemd-escape</command></term>
     525        <listitem>
     526          <para>Used to escape strings for inclusion in systemd unit
     527          names</para>
     528          <indexterm zone="ch-system-systemd systemd-escape">
     529            <primary sortas="b-systemd-escape">systemd-escape</primary>
     530          </indexterm>
     531        </listitem>
     532      </varlistentry>
     533
     534      <varlistentry id="systemd-hwdb">
     535        <term><command>systemd-hwdb</command></term>
     536        <listitem>
     537          <para>Used to manage hardware database (hwdb)</para>
     538          <indexterm zone="ch-system-systemd systemd-hwdb">
     539            <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
     540          </indexterm>
     541        </listitem>
     542      </varlistentry>
     543
    481544      <varlistentry id="systemd-inhibit">
    482545        <term><command>systemd-inhibit</command></term>
    483546        <listitem>
    484           <para>used to execute a program with a shutdown, sleep or idle inhibitor lock
    485           taken.</para>
     547          <para>Used to execute a program with a shutdown, sleep or idle
     548          inhibitor lock taken</para>
    486549          <indexterm zone="ch-system-systemd systemd-inhibit">
    487550            <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
     
    493556        <term><command>systemd-machine-id-setup</command></term>
    494557        <listitem>
    495           <para>used by system installer tools to initialize the machine ID stored in
    496           <filename>/etc/machine-id</filename> at install time with a randomly
    497           generated ID.</para>
     558          <para>Used by system installer tools to initialize the machine ID
     559          stored in <filename>/etc/machine-id</filename> at install time with a
     560          randomly generated ID</para>
    498561          <indexterm zone="ch-system-systemd systemd-machine-id-setup">
    499562            <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
     
    505568        <term><command>systemd-notify</command></term>
    506569        <listitem>
    507           <para>used by daemon scripts to notify the init system about status changes.
    508           </para>
     570          <para>Used by daemon scripts to notify the init system about status
     571          changes</para>
    509572          <indexterm zone="ch-system-systemd systemd-notify">
    510573            <primary sortas="b-systemd-notify">systemd-notify</primary>
     
    516579        <term><command>systemd-nspawn</command></term>
    517580        <listitem>
    518           <para>used to run a command or OS in a light-weight namespace container.</para>
     581          <para>Used to run a command or OS in a light-weight namespace
     582          container</para>
    519583          <indexterm zone="ch-system-systemd systemd-nspawn">
    520584            <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
     
    523587      </varlistentry>
    524588
     589      <varlistentry id="systemd-path">
     590        <term><command>systemd-path</command></term>
     591        <listitem>
     592          <para>Used to query system and user paths</para>
     593          <indexterm zone="ch-system-systemd systemd-path">
     594            <primary sortas="b-systemd-path">systemd-path</primary>
     595          </indexterm>
     596        </listitem>
     597      </varlistentry>
     598
     599      <varlistentry id="systemd-resolve">
     600        <term><command>systemd-resolve</command></term>
     601        <listitem>
     602          <para>Used to resolve domain names, IPV4 and IPv6 addresses, DNS
     603          resource records, and services</para>
     604          <indexterm zone="ch-system-systemd systemd-resolve">
     605            <primary sortas="b-systemd-resolve">systemd-resolve</primary>
     606          </indexterm>
     607        </listitem>
     608      </varlistentry>
     609
    525610      <varlistentry id="systemd-run">
    526611        <term><command>systemd-run</command></term>
    527612        <listitem>
    528           <para>used to create and start a transient .service or a .scope unit and
    529           run the specified command in it.</para>
     613          <para>Used to create and start a transient .service or a .scope unit
     614          and run the specified command in it</para>
    530615          <indexterm zone="ch-system-systemd systemd-run">
    531616            <primary sortas="b-systemd-run">systemd-run</primary>
     
    534619      </varlistentry>
    535620
    536 <!--      <varlistentry id="systemd-stdio-bridge">
     621      <!-- <varlistentry id="systemd-stdio-bridge">
    537622        <term><command>systemd-stdio-bridge</command></term>
    538623        <listitem>
     
    547632        <term><command>systemd-tmpfiles</command></term>
    548633        <listitem>
    549           <para>creates, deletes and cleans up volatile and temporary files and directories,
    550           based on the configuration file format and location specified in
    551           <filename class="directory">tmpfiles.d</filename> directories.</para>
     634          <para>Creates, deletes and cleans up volatile and temporary files and
     635          directories, based on the configuration file format and location
     636          specified in
     637          <filename class="directory">tmpfiles.d</filename> directories</para>
    552638          <indexterm zone="ch-system-systemd systemd-tmpfiles">
    553639            <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
     
    559645        <term><command>systemd-tty-ask-password-agent</command></term>
    560646        <listitem>
    561           <para>used to list or process pending Systemd password requests</para>
     647          <para>Used to list or process pending systemd password requests</para>
    562648          <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
    563649            <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
     
    569655        <term><command>telinit</command></term>
    570656        <listitem>
    571           <para>Tells <command>init</command> which run-level to change to.</para>
     657          <para>Tells <command>init</command> which run-level to change
     658          to</para>
    572659          <indexterm zone="ch-system-systemd telinit">
    573660            <primary sortas="b-telinit">telinit</primary>
     
    579666        <term><command>timedatectl</command></term>
    580667        <listitem>
    581           <para>used to query and change the system clock and its settings.
     668          <para>Used to query and change the system clock and its settings
    582669          </para>
    583670          <indexterm zone="ch-system-systemd timedatectl">
     
    593680          provides info from the Udev database, monitors uevents, waits for
    594681          uevents to finish, tests Udev configuration, and triggers uevents
    595           for a given device.</para>
     682          for a given device</para>
    596683          <indexterm zone="ch-system-systemd udevadm">
    597684            <primary sortas="b-udevadm">udevadm</primary>
     
    603690        <term><filename class="libraryfile">libsystemd</filename></term>
    604691        <listitem>
    605           <para>Systemd utility library.</para>
     692          <para>systemd utility library</para>
    606693          <indexterm zone="ch-system-systemd libsystemd">
    607694            <primary sortas="c-libsystemd">libsystemd</primary>
     
    613700        <term><filename class="libraryfile">libudev</filename></term>
    614701        <listitem>
    615           <para>A library to access Udev device information.</para>
     702          <para>A library to access Udev device information</para>
    616703          <indexterm zone="ch-system-systemd libudev">
    617704            <primary sortas="c-libudev">libudev</primary>
  • chapter06/util-linux.xml

    r11ebea6 r1118b17  
    6363    <para>Prepare Util-linux for compilation:</para>
    6464
    65 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     65<screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
    6666            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
    6767            --disable-chfn-chsh  \
     
    7676            --without-systemd    \
    7777            --without-systemdsystemunitdir</userinput></screen>
     78
     79<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     80            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     81            --disable-chfn-chsh  \
     82            --disable-login      \
     83            --disable-nologin    \
     84            --disable-su         \
     85            --disable-setpriv    \
     86            --disable-runuser    \
     87            --disable-pylibmount \
     88            --disable-static     \
     89            --without-python</userinput></screen>
    7890
    7991    <para>The --disable and --without options prevent warnings about
  • chapter08/fstab.xml

    r11ebea6 r1118b17  
    2020  file systems table like this:</para>
    2121
    22 <screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
     22<screen revision="sysv"><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
    2323<literal># Begin /etc/fstab
    2424
     
    3737EOF</userinput></screen>
    3838
     39<screen revision="systemd"><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
     40<literal># Begin /etc/fstab
     41
     42# file system  mount-point  type     options             dump  fsck
     43#                                                              order
     44
     45/dev/<replaceable>&lt;xxx&gt;</replaceable>     /            <replaceable>&lt;fff&gt;</replaceable>    defaults            1     1
     46/dev/<replaceable>&lt;yyy&gt;</replaceable>     swap         swap     pri=1               0     0
     47
     48# End /etc/fstab</literal>
     49EOF</userinput></screen>
     50
    3951  <para>Replace <replaceable>&lt;xxx&gt;</replaceable>,
    4052  <replaceable>&lt;yyy&gt;</replaceable>, and <replaceable>&lt;fff&gt;</replaceable>
     
    4456  class="filesystem">ext4</systemitem>. For details on the six
    4557  fields in this file, see <command>man 5 fstab</command>.</para>
    46 
    47 <!--
    48   <para>The <filename class="directory">/dev/shm</filename> mount point
    49   for <systemitem class="filesystem">tmpfs</systemitem> is included to
    50   allow enabling POSIX-shared memory. The kernel must have the required
    51   support built into it for this to work (more about this is in the next
    52   section). Please note that very little software currently uses
    53   POSIX-shared memory.  Therefore, consider the <filename
    54   class="directory">/dev/shm</filename> mount point optional. For more
    55   information, see
    56   <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel
    57   source tree.</para>
    58 -->
    5958
    6059  <para>Filesystems with MS-DOS or Windows origin (i.e.: vfat, ntfs, smbfs, cifs,
     
    9796  There is no way to specify these settings for the
    9897  ntfs filesystem at kernel compilation time.</para>
    99   <!-- Personally, I find it more foolproof to always specify the iocharset and
    100   codepage in /etc/fstab for MS-based filesystems - Alexander E. Patrakov -->
    10198
    10299  <para>It is possible to make the ext3 filesystem reliable across power
  • chapter08/grub.xml

    r11ebea6 r1118b17  
    4040
    4141    <note><para>Most newer systems now come with system firmware that is in
    42     UEFI ((Unified Extensible Firmware Interface) mode by default. To boot LFS
     42    UEFI (Unified Extensible Firmware Interface) mode by default. To boot LFS
    4343    on these systems using the instructions here, the UEFI Mode and Secure Boot
    44     capabilities need to be turned off.  There are ways to boot with these
    45     capabilities still enabled, but are not covered here.  For details, see
    46     <ulink
    47     url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt">the
    48     lfs-uefi.txt hint</ulink> at
     44    capabilities need to be turned off. There are ways to boot with these
     45    capabilities still enabled, but then are not covered here. For details,
     46    see <ulink
     47    url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt"> 
     48    the lfs-uefi.txt hint</ulink> at
    4949    http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.</para></note>
    5050
  • chapter08/kernel.xml

    r11ebea6 r1118b17  
    6666    <ulink url="http://www.kroah.com/lkn/"/> </para>
    6767
    68     <note><para>A good starting place for setting up the kernel configuration
    69     is to run <command>make defconfig</command>. This will set the base
    70     configuration to a good state that takes your current system architecture
    71     into account.</para>
    72 
    73     <para>Be sure to configure the following features as shown:</para>
    74 
    75         <screen role="nodump">
     68    <note>
     69   
     70      <para>A good starting place for setting up the kernel configuration is to
     71      run <command>make defconfig</command>. This will set the base
     72      configuration to a good state that takes your current system architecture
     73      into account.</para>
     74
     75      <para>Be sure to enable or disable following features or the system might
     76      not work correctly or boot at all:</para>
     77
     78      <screen role="nodump" revision="sysv">
    7679Device Drivers  ---&gt;
    7780  Generic Driver Options  ---&gt;
    7881   [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    79    [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen></note>
    80 
    81     <para>There are several other options that may be desired depending
    82     on the requirements for the system. For a list of options needed
    83     for BLFS packages, see the <ulink
    84     url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS
    85     Index of Kernel Settings</ulink>
     82   [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen>
     83
     84      <screen role="nodump" revision="systemd">
     85  [*] open by fhandle syscalls [CONFIG_FHANDLE]
     86  [ ] Auditing support [CONFIG_AUDIT]
     87  [*] Control Group support [CONFIG_CGROUPS]
     88Processor type and features  ---&gt;
     89  [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
     90Networking support  ---&gt;
     91  Networking options  ---&gt;
     92    &lt;*&gt; The IPv6 protocol [CONFIG_IPV6]
     93Device Drivers  ---&gt;
     94  Generic Driver Options  ---&gt;
     95    [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
     96    [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
     97    [ ] Fallback user-helper invocation for firmware loading [CONFIG_FW_LOADER_USER_HELPER]
     98Firmware Drivers  ---&gt;
     99    [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
     100File systems  ---&gt;
     101  [*] Inotify support for userspace [CONFIG_INOTIFY_USER]
     102  &lt;*&gt; Kernel automounter version 4 support (also supports v3) [CONFIG_AUTOFS4_FS]
     103  Pseudo filesystems  ---&gt;
     104    [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]
     105    [*] Tmpfs extended attributes [CONFIG_TMPFS_XATTR]</screen>
     106
     107    </note>
     108
     109    <note revision="systemd">
     110      <para>While "The IPv6 Protocol" is not strictly
     111      required, it is highly recommended by the systemd developers.</para>
     112    </note>
     113
     114    <para revision="sysv">There are several other options that may be desired
     115    depending on the requirements for the system. For a list of options needed
     116    for BLFS packages, see the <ulink
     117    url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS
     118    Index of Kernel Settings</ulink>
    86119    (&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index).</para>
    87120
  • chapter09/reboot.xml

    r11ebea6 r1118b17  
    7474        <listitem><para>/root/.bash_profile          </para></listitem>
    7575        <listitem><para>/root/.bashrc                </para></listitem>
    76         <listitem><para>/etc/sysconfig/network       </para></listitem>
    77         <listitem><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
     76        <listitem revision="sysv"><para>/etc/sysconfig/network       </para></listitem>
     77        <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
    7878      </itemizedlist>
    7979    </listitem>
  • chapter09/theend.xml

    r11ebea6 r1118b17  
    1919  </indexterm>
    2020
     21  <indexterm zone="ch-finish-theend" revision="systemd">
     22    <primary sortas="e-/etc/os-release">/etc/os-release</primary>
     23  </indexterm>
     24
    2125  <para>Well done! The new LFS system is installed! We wish you much
    2226  success with your shiny new custom-built Linux system.</para>
    2327
    24   <para>It may be a good idea to create an <filename>/etc/lfs-release</filename>
    25   file. By having this file, it is very easy for you (and for us if you need to
    26   ask for help at some point) to find out which LFS version is installed on the
    27   system. Create this file by running:</para>
     28  <para revision="systemd">Create an <filename>/etc/os-release</filename>
     29        file required by systemd:</para>
    2830
    29 <screen><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
     31<screen revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
     32NAME="Linux From Scratch"
     33VERSION="&versiond;"
     34ID=lfs
     35PRETTY_NAME="Linux From Scratch &versiond;"
     36EOF</userinput></screen>
     37
     38  <para revision="sysv">It may be a good idea to create an
     39  <filename>/etc/lfs-release</filename> file. By having this file, it is very
     40  easy for you (and for us if you need to ask for help at some point) to find
     41  out which LFS version is installed on the system. Create this file by
     42  running:</para>
     43
     44<screen revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
     45
     46  <para revision="systemd">Creating the file
     47  <filename>/etc/lfs-release</filename> is recommended for compatibility with
     48  the non-systemd branch. By having this file, it is very easy for you (and for
     49  us if you need to ask for help at some point) to find out which LFS version
     50  is installed on the system. Create this file by running:</para>
     51
     52<screen revision="systemd"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
    3053
    3154  <para>It is also a good idea to create a file to show the status of your
     
    3356  this file, run:</para>
    3457
    35 <screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
     58<screen revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
    3659DISTRIB_ID="Linux From Scratch"
    3760DISTRIB_RELEASE="&version;"
     61DISTRIB_CODENAME="&lt;your name here&gt;"
     62DISTRIB_DESCRIPTION="Linux From Scratch"
     63EOF</userinput></screen>
     64
     65<screen revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
     66DISTRIB_ID="Linux From Scratch"
     67DISTRIB_RELEASE="&versiond;"
    3868DISTRIB_CODENAME="&lt;your name here&gt;"
    3969DISTRIB_DESCRIPTION="Linux From Scratch"
  • general.ent

    r11ebea6 r1118b17  
    1 <!ENTITY version         "SVN-20160516">
    2 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;. Change to x.y for release
    3                                       but not -rc releases -->
     1<!ENTITY version         "SVN-20160516-merge">
     2<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
     3                                      Change to x.y for release but not -rc releases -->
     4<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
     5
     6<!ENTITY versiond        "20160407-systemd-merge">
     7<!ENTITY short-versiond  "systemd">
     8<!ENTITY generic-versiond "systemd">
     9
    410<!ENTITY releasedate     "May 16, 2016">
    511<!ENTITY copyrightdate   "1999-2016"><!-- jhalfs needs a literal dash, not &ndash; -->
    612<!ENTITY milestone       "7.10">
    7 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
    813
    914<!ENTITY lfs-root        "http://www.linuxfromscratch.org/">
     
    1924<!ENTITY errata          "&lfs-root;lfs/errata/&generic-version;/">
    2025<!ENTITY min-kernel      "2.6.32">
    21                          
     26
     27<!ENTITY patches-rootd   "&lfs-root;patches/lfs/&generic-versiond;/">
     28<!ENTITY downloads-rootd "&lfs-root;lfs/downloads/&generic-versiond;/">
     29<!ENTITY test-resultsd   "&lfs-root;lfs/build-logs/&generic-versiond;/">
     30<!ENTITY erratad         "&lfs-root;lfs/errata/&generic-versiond;/">
     31
    2232<!ENTITY lfs-ticket-root "http://wiki.linuxfromscratch.org/lfs/ticket/">
    2333
  • packages.ent

    r11ebea6 r1118b17  
    106106<!ENTITY coreutils-ch6-du "168 MB">
    107107<!ENTITY coreutils-ch6-sbu "2.6 SBU">
     108
     109<!ENTITY dbus-version "1.10.6">
     110<!ENTITY dbus-size "1,908 KB">
     111<!ENTITY dbus-url "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz">
     112<!ENTITY dbus-md5 "26d0cf3a1c9782cb0e342101f0450440">
     113<!ENTITY dbus-home "http://www.freedesktop.org/wiki/Software/dbus">
     114<!ENTITY dbus-ch6-du "23 MB">
     115<!ENTITY dbus-ch6-sbu "0.2 SBU">
    108116
    109117<!ENTITY dejagnu-version "1.6">
     
    542550<!ENTITY sysklogd-ch6-sbu "less than 0.1 SBU">
    543551
     552<!ENTITY systemd-version "229">
     553<!ENTITY systemd-size    "3,844 KB">
     554<!ENTITY systemd-url     "http://anduin.linuxfromscratch.org/sources/other/systemd/systemd-&systemd-version;.tar.xz">
     555<!ENTITY systemd-md5     "5d5115ee08affe005f821bc5ea3171e8">
     556<!ENTITY systemd-home    "http://www.freedesktop.org/wiki/Software/systemd/">
     557<!ENTITY systemd-ch6-du  "1.1 GB">
     558<!ENTITY systemd-ch6-sbu "5.1 SBU">
     559
    544560<!ENTITY sysvinit-version "2.88dsf">
    545561<!ENTITY sysvinit-size "108 KB">
  • patches.ent

    r11ebea6 r1118b17  
    4242<!ENTITY sysvinit-consolidated-patch-md5 "0b7b5ea568a878fdcc4057b2bf36e5cb">
    4343<!ENTITY sysvinit-consolidated-patch-size "3.9 KB">
     44
     45<!ENTITY systemd-compat-patch "systemd-&systemd-version;-compat-1.patch">
     46<!ENTITY systemd-compat-patch-md5 "8a9b70794ead5a87297d7ccd7a753d78">
     47<!ENTITY systemd-compat-patch-size "12 KB">
     48
  • prologue/bookinfo.xml

    r11ebea6 r1118b17  
    88<bookinfo>
    99  <title>Linux From Scratch</title>
    10   <subtitle>Version &version;</subtitle>
    11 
     10  <subtitle revision='sysv'   >Version &version; </subtitle>
     11  <subtitle revision='systemd'>Version &versiond;</subtitle>
    1212
    1313  <authorgroup>
     
    1717    </author>
    1818    <author>
    19       <firstname>Managing Editor is Bruce</firstname>
     19      <firstname>Managing Editor: Bruce</firstname>
    2020      <surname>Dubbs</surname>
    2121    </author>
     22    <author revision="systemd">
     23      <firstname>Editor: Douglas R.</firstname>
     24      <surname>Reno</surname>
     25    </author>
     26    <author revision="systemd">
     27      <firstname>Editor: DJ</firstname>
     28      <surname>Lucas</surname>
     29    </author>
    2230  </authorgroup>
    23 
    2431
    2532  <copyright id="copyright">
     
    2936
    3037  <legalnotice>
     38
    3139    <para>Copyright &copy; &copyrightdate;, Gerard Beekmans</para>
    3240
Note: See TracChangeset for help on using the changeset viewer.