Changeset 0b10138f
- Timestamp:
- 08/21/2014 07:57:48 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 84ff040
- Parents:
- aab1523
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
raab1523 r0b10138f 39 39 <para>2014-08-21</para> 40 40 <itemizedlist> 41 <listitem> 42 <para>[krejzi] - Updated to systemd-216.</para> 43 </listitem> 41 44 <listitem> 42 45 <para>[krejzi] - Updated to glibc-2.20 (snapshot).</para> -
chapter06/systemd.xml
raab1523 r0b10138f 42 42 43 43 <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> 45 45 46 46 <screen><userinput remap="pre">cat > config.cache << "EOF" … … 48 48 HAVE_BLKID=1 49 49 BLKID_LIBS="-lblkid" 50 BLKID_CFLAGS="-I/tools/include/blkid"</literal> 50 BLKID_CFLAGS="-I/tools/include/blkid" 51 cc_cv_CFLAGS__flto=no</literal> 51 52 EOF</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> 52 58 53 59 <para>Additionally, fix a build error when using Util-Linux built in … … 55 61 56 62 <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 a59 reference to a non-existent <filename>timesyncd.conf(5)</filename> man60 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>63 63 64 64 <para>Apply a patch so that compat <command>pkg-config</command> files get … … 77 77 --enable-split-usr \ 78 78 --disable-gudev \ 79 --disable-firstboot \ 80 --disable-ldconfig \ 81 --disable-sysusers \ 79 82 --without-python \ 80 83 --docdir=/usr/share/doc/systemd-&systemd-version; \ … … 119 122 <para>These switches disable optional features because 120 123 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> 121 156 </listitem> 122 157 </varlistentry> … … 157 192 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen> 158 193 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> 163 197 164 198 <para>Remove an unnecessary directory:</para> … … 195 229 <seglistitem> 196 230 <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> 205 241 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, 206 242 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, 207 243 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd, 208 244 /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> 212 249 </seglistitem> 213 250 </segmentedlist> … … 471 508 </varlistentry> 472 509 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 473 531 <varlistentry id="systemd-inhibit"> 474 532 <term><command>systemd-inhibit</command></term> … … 536 594 </varlistentry> 537 595 538 <!--<varlistentry id="systemd-stdio-bridge">596 <!-- <varlistentry id="systemd-stdio-bridge"> 539 597 <term><command>systemd-stdio-bridge</command></term> 540 598 <listitem> … … 546 604 </varlistentry> --> 547 605 548 < varlistentry id="systemd-sysusers">606 <!-- <varlistentry id="systemd-sysusers"> 549 607 <term><command>systemd-sysusers</command></term> 550 608 <listitem> … … 555 613 </indexterm> 556 614 </listitem> 557 </varlistentry> 615 </varlistentry> --> 558 616 559 617 <varlistentry id="systemd-tmpfiles"> -
packages.ent
raab1523 r0b10138f 544 544 <!ENTITY shadow-ch6-sbu "0.2 SBU"> 545 545 546 <!ENTITY systemd-version "21 5">547 <!ENTITY systemd-size " 2,824KB">546 <!ENTITY systemd-version "216"> 547 <!ENTITY systemd-size "3,532 KB"> 548 548 <!ENTITY systemd-url "http://www.freedesktop.org/software/systemd/systemd-&systemd-version;.tar.xz"> 549 <!ENTITY systemd-md5 " d2603e9fffd8b18d242543e36f2e7d31">549 <!ENTITY systemd-md5 "04fda588a04f549da0f397dce3ae6a39"> 550 550 <!ENTITY systemd-home "http://www.freedesktop.org/wiki/Software/systemd/"> 551 551 <!ENTITY systemd-ch6-du "518 MB"> -
patches.ent
raab1523 r0b10138f 61 61 62 62 <!ENTITY systemd-compat-patch "systemd-&systemd-version;-compat-1.patch"> 63 <!ENTITY systemd-compat-patch-md5 " 657a996c67d4a9fbad394ee5aa1b1f34">64 <!ENTITY systemd-compat-patch-size " 12KB">63 <!ENTITY systemd-compat-patch-md5 "f26da3adcdc621ea0d715d60baa91962"> 64 <!ENTITY systemd-compat-patch-size "8 KB"> 65 65 66 66 <!--
Note:
See TracChangeset
for help on using the changeset viewer.