Changeset 0b10138f


Ignore:
Timestamp:
08/21/2014 07:57:48 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
84ff040
Parents:
aab1523
Message:

Updated to systemd-216 - rough draft.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    raab1523 r0b10138f  
    3939      <para>2014-08-21</para>
    4040      <itemizedlist>
     41        <listitem>
     42          <para>[krejzi] - Updated to systemd-216.</para>
     43        </listitem>
    4144        <listitem>
    4245          <para>[krejzi] - Updated to glibc-2.20 (snapshot).</para>
  • chapter06/systemd.xml

    raab1523 r0b10138f  
    4242
    4343    <para>First, create a file to allow systemd to build when using Util-Linux
    44     built in Chapter 5:</para>
     44    built in Chapter 5 and disable LTO by default:</para>
    4545
    4646<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
     
    4848HAVE_BLKID=1
    4949BLKID_LIBS="-lblkid"
    50 BLKID_CFLAGS="-I/tools/include/blkid"</literal>
     50BLKID_CFLAGS="-I/tools/include/blkid"
     51cc_cv_CFLAGS__flto=no</literal>
    5152EOF</userinput></screen>
     53
     54    <para>LTO is disabled by default because it causes <command>systemd</command>
     55    and other auxiliary programs to link to <filename
     56    class="library">libgcc_s.so</filename>, slows the build down and makes the
     57    compiled code larger.</para>
    5258
    5359    <para>Additionally, fix a build error when using Util-Linux built in
     
    5561
    5662<screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
    57 
    58     <para>The <filename>timesyncd.conf</filename> file contains a
    59     reference to a non-existent <filename>timesyncd.conf(5)</filename> man
    60     page. Remove that reference to avoid possible confusion:</para>
    61 
    62 <screen><userinput>sed -i '/timesyncd.conf/d' src/timesync/timesyncd.conf.in</userinput></screen>
    6363
    6464    <para>Apply a patch so that compat <command>pkg-config</command> files get
     
    7777            --enable-split-usr                                      \
    7878            --disable-gudev                                         \
     79            --disable-firstboot                                     \
     80            --disable-ldconfig                                      \
     81            --disable-sysusers                                      \
    7982            --without-python                                        \
    8083            --docdir=/usr/share/doc/systemd-&systemd-version;                     \
     
    119122          <para>These switches disable optional features because
    120123          LFS does not provide their dependencies.</para>
     124        </listitem>
     125      </varlistentry>
     126
     127      <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>
     138        <term><parameter>--disable-ldconfig</parameter></term>
     139        <listitem>
     140          <para>This switch prevents installation of a systemd
     141          unit that runs <command>ldconfig</command> at
     142          boot, making the boot time longer. Remove it if the
     143          described feature is desired, even though it's not
     144          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>
    121156        </listitem>
    122157      </varlistentry>
     
    157192<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    158193
    159     <para>Move NSS myhostname library to <filename
    160     class="directory">/lib</filename>:</para>
    161 
    162 <screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen>
     194    <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para>
     195
     196<screen><userinput remap="install">mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib</userinput></screen>
    163197
    164198    <para>Remove an unnecessary directory:</para>
     
    195229      <seglistitem>
    196230        <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
    197         kernel-install, localectl, loginctl, machinectl, poweroff, reboot,
    198         runlevel, shutdown, systemctl, systemd-analyze, systemd-ask-password,
    199         systemd-cat, systemd-cgls, systemd-cgtop, systemd-coredumpctl,
    200         systemd-delta, systemd-detect-virt, systemd-inhibit,
    201         systemd-machine-id-setup, systemd-notify, systemd-nspawn, systemd-path,
    202         systemd-run, systemd-stdio-bridge, systemd-sysusers, systemd-tmpfiles,
    203         systemd-tty-ask-password-agent, telinit, timedatectl, and udevadm</seg>
    204         <seg>libnss_myhostname.so.2, libsystemd.so, libudev.so</seg>
     231        kernel-install, localectl, loginctl, machinectl, networkctl, poweroff,
     232        reboot, runlevel, shutdown, systemctl, systemd-analyze,
     233        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
     234        systemd-delta, systemd-detect-virt, systemd-escape,<!-- systemd-firstboot, -->
     235        systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
     236        systemd-path, systemd-run, systemd-stdio-bridge,<!-- systemd-sysusers, -->
     237        systemd-tmpfiles, systemd-tty-ask-password-agent, telinit, timedatectl,
     238        and udevadm</seg>
     239        <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, libnss_resolve.so.2,
     240        libsystemd.so, libudev.so</seg>
    205241        <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
    206242        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
    207243        /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
    208244        /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
    209         /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
    210         /usr/share/doc/systemd-&systemd-version;, /usr/share/systemd,
    211         /var/lib/systemd, /var/log/journal</seg>
     245        /usr/lib/sysctl.d, /usr/lib/systemd,<!-- /usr/lib/sysusers.d, -->
     246        /usr/lib/tmpfiles.d, /usr/share/doc/systemd-&systemd-version;,
     247        /usr/share/factory, /usr/share/systemd, /var/lib/systemd,
     248        /var/log/journal</seg>
    212249      </seglistitem>
    213250    </segmentedlist>
     
    471508      </varlistentry>
    472509
     510      <varlistentry id="systemd-escape">
     511        <term><command>systemd-escape</command></term>
     512        <listitem>
     513          <para>Used to escape strings for inclusion in systemd unit names.</para>
     514          <indexterm zone="ch-system-systemd systemd-escape">
     515            <primary sortas="b-systemd-escape">systemd-escape</primary>
     516          </indexterm>
     517        </listitem>
     518      </varlistentry>
     519
     520      <!-- <varlistentry id="systemd-firstboot">
     521        <term><command>systemd-firstboot</command></term>
     522        <listitem>
     523          <para>Initializes the most basic system settings interactively on the
     524          first boot.</para>
     525          <indexterm zone="ch-system-systemd systemd-firstboot">
     526            <primary sortas="b-systemd-firstboot">systemd-firstboot</primary>
     527          </indexterm>
     528        </listitem>
     529      </varlistentry> -->
     530
    473531      <varlistentry id="systemd-inhibit">
    474532        <term><command>systemd-inhibit</command></term>
     
    536594      </varlistentry>
    537595
    538 <!--      <varlistentry id="systemd-stdio-bridge">
     596      <!-- <varlistentry id="systemd-stdio-bridge">
    539597        <term><command>systemd-stdio-bridge</command></term>
    540598        <listitem>
     
    546604      </varlistentry> -->
    547605
    548       <varlistentry id="systemd-sysusers">
     606      <!-- <varlistentry id="systemd-sysusers">
    549607        <term><command>systemd-sysusers</command></term>
    550608        <listitem>
     
    555613          </indexterm>
    556614        </listitem>
    557       </varlistentry>
     615      </varlistentry> -->
    558616
    559617      <varlistentry id="systemd-tmpfiles">
  • packages.ent

    raab1523 r0b10138f  
    544544<!ENTITY shadow-ch6-sbu "0.2 SBU">
    545545
    546 <!ENTITY systemd-version "215">
    547 <!ENTITY systemd-size    "2,824 KB">
     546<!ENTITY systemd-version "216">
     547<!ENTITY systemd-size    "3,532 KB">
    548548<!ENTITY systemd-url     "http://www.freedesktop.org/software/systemd/systemd-&systemd-version;.tar.xz">
    549 <!ENTITY systemd-md5     "d2603e9fffd8b18d242543e36f2e7d31">
     549<!ENTITY systemd-md5     "04fda588a04f549da0f397dce3ae6a39">
    550550<!ENTITY systemd-home    "http://www.freedesktop.org/wiki/Software/systemd/">
    551551<!ENTITY systemd-ch6-du  "518 MB">
  • patches.ent

    raab1523 r0b10138f  
    6161
    6262<!ENTITY systemd-compat-patch "systemd-&systemd-version;-compat-1.patch">
    63 <!ENTITY systemd-compat-patch-md5 "657a996c67d4a9fbad394ee5aa1b1f34">
    64 <!ENTITY systemd-compat-patch-size "12 KB">
     63<!ENTITY systemd-compat-patch-md5 "f26da3adcdc621ea0d715d60baa91962">
     64<!ENTITY systemd-compat-patch-size "8 KB">
    6565
    6666<!--
Note: See TracChangeset for help on using the changeset viewer.