Changeset 31a5fc04


Ignore:
Timestamp:
08/20/2014 08:09:59 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
7a80cbc
Parents:
077d1b4
Message:

Use configure switches to disable systemd-firstboot and systemd-sysusers.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml.next

    r077d1b4 r31a5fc04  
    7777            --enable-split-usr                                      \
    7878            --disable-gudev                                         \
     79            --disable-firstboot                                     \
    7980            --disable-ldconfig                                      \
     81            --disable-sysusers                                      \
    8082            --without-python                                        \
    8183            --docdir=/usr/share/doc/systemd-&systemd-version;                     \
     
    124126
    125127      <varlistentry>
     128        <term><parameter>--disable-firstboot</parameter></term>
     129        <listitem>
     130          <para>This switch prevents installation of systemd
     131          services responsible for setting up the system for
     132          the first time. They are not useful for LFS because
     133          everything is done manually.</para>
     134        </listitem>
     135      </varlistentry>
     136
     137      <varlistentry>
    126138        <term><parameter>--disable-ldconfig</parameter></term>
    127139        <listitem>
     
    131143          described feature is desired, even though it's not
    132144          useful for source distributions such as LFS.</para>
     145        </listitem>
     146      </varlistentry>
     147
     148      <varlistentry>
     149        <term><parameter>--disable-sysusers</parameter></term>
     150        <listitem>
     151          <para>This switch prevents installation of systemd
     152          services responsible for setting up the
     153          <filename>/etc/group</filename> and
     154          <filename>/etc/passwd</filename> files. Both files
     155          were created early in this chapter.</para>
    133156        </listitem>
    134157      </varlistentry>
     
    169192<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    170193
    171     <para>Prevent systemd units that are not needed on a LFS system from running:</para>
    172 
    173 <screen><userinput remap="install">rm -fv /lib/systemd/system/sysinit.target.wants/systemd-{firstboot,sysusers,update-done}.service</userinput></screen>
    174 
    175194    <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para>
    176195
     
    213232        reboot, runlevel, shutdown, systemctl, systemd-analyze,
    214233        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
    215         systemd-delta, systemd-detect-virt, systemd-escape, systemd-firstboot,
     234        systemd-delta, systemd-detect-virt, systemd-escape,<!-- systemd-firstboot, -->
    216235        systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
    217236        systemd-path, systemd-run, systemd-stdio-bridge, systemd-sysusers,
     
    499518      </varlistentry>
    500519
    501       <varlistentry id="systemd-firstboot">
     520      <!-- <varlistentry id="systemd-firstboot">
    502521        <term><command>systemd-firstboot</command></term>
    503522        <listitem>
     
    508527          </indexterm>
    509528        </listitem>
    510       </varlistentry>
     529      </varlistentry> -->
    511530
    512531      <varlistentry id="systemd-inhibit">
Note: See TracChangeset for help on using the changeset viewer.