aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/systemd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r--chapter06/systemd.xml33
1 files changed, 27 insertions, 6 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 82b280dcd..386535ab2 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -63,7 +63,7 @@ done</userinput></screen>
<para>Remove tests that cannot be built in chroot:</para>
-<screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
+<screen><userinput remap="pre">sed '179,$ d' -i src/resolve/meson.build</userinput></screen>
<para>Remove an unneeded group,
<systemitem class="groupname">render</systemitem>, from the default udev
@@ -97,6 +97,8 @@ meson --prefix=/usr \
-Dumount-path=/bin/umount \
-Db_lto=false \
-Drpmmacrosdir=no \
+ -Dhomed=false \
+ -Duserdb=false \
..</userinput></screen>
<variablelist>
@@ -182,6 +184,15 @@ meson --prefix=/usr \
for use with systemd because LFS does not support RPM.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><parameter>-D{userdb,homed}=false</parameter></term>
+ <listitem>
+ <para>Remove two daemons that have dependencies that do not fit
+ the scope of LFS.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>
@@ -216,13 +227,12 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
- <!--
<para>Prevent systemd from resetting the maximum PID value which causes
some problems with packages and units in BLFS:</para>
- FCRON in particular
+
+
+<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
-<screen><userinput remap="adjust">rm -f /etc/sysctl.d/50-pid-max.conf</userinput></screen>
- -->
<para>Cleanup symbolic links to Util-Linux libraries:</para>
<screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
@@ -254,7 +264,7 @@ meson --prefix=/usr \
systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
systemd-id128, systemd-inhibit, systemd-machine-id-setup,
systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
- systemd-resolve (symlink to resolvectl), systemd-run,
+ systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
systemd-tty-ask-password-agent, systemd-umount (symlink to
systemd-mount), telinit (symlink to systemctl), timedatectl, and
@@ -672,6 +682,17 @@ meson --prefix=/usr \
</listitem>
</varlistentry>
+ <varlistentry id="systemd-repart">
+ <term><command>systemd-repart</command></term>
+ <listitem>
+ <para>Used go grow and add partitions to a partition table when
+ systemd is used in an OS image (e.g. a container).</para>
+ <indexterm zone="ch-system-systemd systemd-repart">
+ <primary sortas="b-systemd-repart">systemd-repart</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="systemd-resolve">
<term><command>systemd-resolve</command></term>
<listitem>