Changeset 5bbc896


Ignore:
Timestamp:
03/14/2014 11:38:42 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
6f34f43
Parents:
f6125f3
Message:

Systemd 211 update, removed libdbus page.

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

Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rf6125f3 r5bbc896  
    4141        <listitem>
    4242          <para>[krejzi] - Merge LFS SVN-20140312 book.</para>
     43        </listitem>
     44        <listitem>
     45          <para>[krejzi] - Update to Systemd-211.</para>
     46        </listitem>
     47        <listitem>
     48          <para>[krejzi] - Remove Libdbus page.</para>
    4349        </listitem>
    4450      </itemizedlist>
  • chapter03/patches.xml

    rf6125f3 r5bbc896  
    7676-->
    7777    <varlistentry>
     78      <term>Systemd Compat Patch - <token>&systemd-compat-patch-size;</token>:</term>
     79      <listitem>
     80        <para>Download: <ulink url="&patches-root;&systemd-compat-patch;"/></para>
     81        <para>MD5 sum: <literal>&systemd-compat-patch-md5;</literal></para>
     82      </listitem>
     83    </varlistentry>
     84
     85    <varlistentry>
    7886      <term>Tar Manpage Patch - <token>&tar-manpage-patch-size;</token>:</term>
    7987      <listitem>
  • chapter06/chapter06.xml

    rf6125f3 r5bbc896  
    7474  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/>
    7575  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/>
    76   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdbus.xml"/>
    7776  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
    7877  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
  • chapter06/systemd.xml

    rf6125f3 r5bbc896  
    5454    Chapter 5:</para>
    5555
    56 <screen><userinput remap="pre">sed -i "s:blkid/::" src/udev/udev-builtin-blkid.c</userinput></screen>
     56<screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
     57
     58    <para>Apply a patch so that compat <command>pkg-config</command> files get
     59    installed without installing compat libs which are useless on LFS:</para>
     60
     61<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
    5762
    5863    <para>Prepare Systemd for compilation:</para>
    5964
    60 <screen><userinput remap="configure">./configure --prefix=/usr                       \
    61             --sysconfdir=/etc                   \
    62             --localstatedir=/var                \
    63             --docdir=/usr/share/doc/systemd-&systemd-version; \
    64             --config-cache                      \
    65             --with-rootprefix=                  \
    66             --with-rootlibdir=/lib              \
    67             --enable-split-usr                  \
    68             --disable-gudev                     \
    69             --without-python</userinput></screen>
     65<screen><userinput remap="configure">./configure --prefix=/usr                                           \
     66            --sysconfdir=/etc                                       \
     67            --localstatedir=/var                                    \
     68            --config-cache                                          \
     69            --with-rootprefix=                                      \
     70            --with-rootlibdir=/lib                                  \
     71            --enable-split-usr                                      \
     72            --disable-gudev                                         \
     73            --without-python                                        \
     74            --docdir=/usr/share/doc/systemd-&systemd-version;                     \
     75            --with-dbuspolicydir=/etc/dbus-1/system.d               \
     76            --with-dbusinterfacedir=/usr/share/dbus-1/interfaces    \
     77            --with-dbussessionservicedir=/usr/share/dbus-1/services \
     78            --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
    7079
    7180    <variablelist>
     
    107116      </varlistentry>
    108117
     118      <varlistentry>
     119        <term><parameter>--with-dbus*</parameter></term>
     120        <listitem>
     121          <para>These switches ensure that D-Bus configuratil files
     122          get installed in the correct locations.</para>
     123        </listitem>
     124      </varlistentry>
     125
    109126    </variablelist>
    110127
     
    113130<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
    114131
    115     <para>The package comes with a testsuite, but it doesn't work in
    116     chroot. It needs to be run from a system booted using Systemd.</para>
    117 
    118     <para>First prevent a broken test case from running:</para>
    119 
    120 <screen><userinput remap="test">sed -i s:test/udev-test.pl::g Makefile</userinput></screen>
     132    <para>First prevent few broken test cases from running:</para>
     133
     134<screen><userinput remap="test">sed -e "s:test/udev-test.pl::g"            \
     135    -e "s:test-bus-cleanup\$(EXEEXT) ::g"  \
     136    -e "s:test-bus-gvariant\$(EXEEXT) ::g" \
     137    -i Makefile</userinput></screen>
    121138
    122139    <para>To test the results, issue:</para>
    123140
    124 <screen><userinput remap="test">make check</userinput></screen>
     141<screen><userinput remap="test">make -k check</userinput></screen>
     142
     143    <para>Note that some tests might fail because the test are being run in a
     144    chroot environment. For full test coverage, the test suite should be ran
     145    from a system booted using Systemd.</para>
    125146
    126147    <para>Install the package:</para>
    127148
    128149<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    129 
    130     <para>Install manual pages which are shipped in the tarball, but were
    131     not installed by install process:</para>
    132 
    133 <screen><userinput remap="install">for cat in 1 3 5 7 8
    134 do
    135   install -v -m644 man/*.${cat} /usr/share/man/man${cat}
    136 done</userinput></screen>
    137150
    138151    <para>Move NSS myhostname library to <filename
     
    155168    <para>Remove a reference to a non-existent group:</para>
    156169
    157 <screen><userinput remap="install">sed -i "s@0775 root lock@0755 root root@g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
     170<screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
    158171
    159172    <para>Create the <filename>/etc/machine-id</filename> file needed by
     
    173186
    174187      <seglistitem>
    175         <seg>bootctl, halt, hostnamectl, init, journalctl, kernel-install, localectl,
    176         loginctl, machinectl, poweroff, reboot, runlevel, shutdown, systemctl,
    177         systemd-analyze, systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
    178         systemd-coredumpctl, systemd-delta, systemd-detect-virt, systemd-inhibit,
    179         systemd-machine-id-setup, systemd-notify, systemd-nspawn, systemd-run,
    180         systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, telinit,
    181         timedatectl, and udevadm</seg>
    182         <seg>libnss_myhostname.so.2, libsystemd-daemon.so, libsystemd-id128.so,
    183         libsystemd-journal.so, libsystemd-login.so, libudev.so</seg>
     188        <seg>bootctl, busctl, halt, hostnamectl, init, journalctl, kernel-install,
     189        localectl, loginctl, machinectl, poweroff, reboot, runlevel, shutdown,
     190        systemctl, systemd-analyze, systemd-ask-password, systemd-cat, systemd-cgls,
     191        systemd-cgtop, systemd-coredumpctl, systemd-delta, systemd-detect-virt,
     192        systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
     193        systemd-run, systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
     194        telinit, timedatectl, and udevadm</seg>
     195
     196        <seg>libnss_myhostname.so.2, libsystemd.so, libudev.so</seg>
    184197        <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
    185198        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
     
    197210      <?dbhtml list-presentation="table"?>
    198211
    199 <!--      <varlistentry id="bootctl">
     212      <varlistentry id="bootctl">
    200213        <term><command>bootctl</command></term>
    201214        <listitem>
    202           <para></para>
     215          <para>used to query the firmware and boot manager settings.</para>
    203216          <indexterm zone="ch-system-systemd bootctl">
    204217            <primary sortas="b-bootctl">bootctl</primary>
    205218          </indexterm>
    206219        </listitem>
    207       </varlistentry> -->
     220      </varlistentry>
     221
     222      <varlistentry id="busctl">
     223        <term><command>busctl</command></term>
     224        <listitem>
     225          <para>used to introspect and monitor the D-Bus bus.</para>
     226          <indexterm zone="ch-system-systemd busctl">
     227            <primary sortas="b-busctl">busctl</primary>
     228          </indexterm>
     229        </listitem>
     230      </varlistentry>
    208231
    209232      <varlistentry id="halt">
     
    561584      </varlistentry>
    562585
    563       <varlistentry id="libsystemd-daemon">
    564         <term><filename class="libraryfile">libsystemd-daemon</filename></term>
    565         <listitem>
    566           <para>Systemd Daemon utility library.</para>
    567           <indexterm zone="ch-system-systemd libsystemd-daemon">
    568             <primary sortas="c-libsystemd-daemon">libsystemd-daemon</primary>
    569           </indexterm>
    570         </listitem>
    571       </varlistentry>
    572 
    573       <varlistentry id="libsystemd-id128">
    574         <term><filename class="libraryfile">libsystemd-id128</filename></term>
    575         <listitem>
    576           <para>Systemd 128 Bit ID utility library.</para>
    577           <indexterm zone="ch-system-systemd libsystemd-id128">
    578             <primary sortas="c-libsystemd-id128">libsystemd-id128</primary>
    579           </indexterm>
    580         </listitem>
    581       </varlistentry>
    582 
    583       <varlistentry id="libsystemd-journal">
    584         <term><filename class="libraryfile">libsystemd-journal</filename></term>
    585         <listitem>
    586           <para>Systemd Journal utility library.</para>
    587           <indexterm zone="ch-system-systemd libsystemd-journal">
    588             <primary sortas="c-libsystemd-journal">libsystemd-journal</primary>
    589           </indexterm>
    590         </listitem>
    591       </varlistentry>
    592 
    593       <varlistentry id="libsystemd-login">
    594         <term><filename class="libraryfile">libsystemd-login</filename></term>
    595         <listitem>
    596           <para>Systemd Login utility library.</para>
    597           <indexterm zone="ch-system-systemd libsystemd-login">
    598             <primary sortas="c-libsystemd-login">libsystemd-login</primary>
     586      <varlistentry id="libsystemd">
     587        <term><filename class="libraryfile">libsystemd</filename></term>
     588        <listitem>
     589          <para>Systemd utility library.</para>
     590          <indexterm zone="ch-system-systemd libsystemd">
     591            <primary sortas="c-libsystemd">libsystemd</primary>
    599592          </indexterm>
    600593        </listitem>
  • packages.ent

    rf6125f3 r5bbc896  
    579579<!ENTITY texinfo-ch6-sbu "0.6 SBU">
    580580
    581 <!ENTITY systemd-version "208">
    582 <!ENTITY systemd-size    "2,328 KB">
     581<!ENTITY systemd-version "211">
     582<!ENTITY systemd-size    "2,604 KB">
    583583<!ENTITY systemd-url     "http://www.freedesktop.org/software/systemd/systemd-&systemd-version;.tar.xz">
    584 <!ENTITY systemd-md5     "df64550d92afbffb4f67a434193ee165">
     584<!ENTITY systemd-md5     "0a70c382b6089526f98073b4ee85ef75">
    585585<!ENTITY systemd-home    "http://www.freedesktop.org/wiki/Software/systemd/">
    586 <!ENTITY systemd-ch6-du  "29 MB">
    587 <!ENTITY systemd-ch6-sbu "0.1 SBU">
     586<!ENTITY systemd-ch6-du  "410 MB">
     587<!ENTITY systemd-ch6-sbu "4.5 SBU">
    588588
    589589<!ENTITY tzdata-version "2014a">
  • patches.ent

    rf6125f3 r5bbc896  
    2323<!ENTITY perl-libc-patch-size "1.6 KB">
    2424
     25<!ENTITY systemd-compat-patch "systemd-&systemd-version;-compat-1.patch">
     26<!ENTITY systemd-compat-patch-md5 "0edc54bbe9391cfb072bc737312e6b7a">
     27<!ENTITY systemd-compat-patch-size "12 KB">
     28
    2529<!ENTITY tar-manpage-patch "tar-&tar-version;-manpage-1.patch">
    2630<!ENTITY tar-manpage-patch-md5 "321f85ec32733b1a9399e788714a5156">
Note: See TracChangeset for help on using the changeset viewer.