diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2020-03-20 02:02:42 +0000 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2020-03-20 02:02:42 +0000 |
commit | c06f49afdc987358617a3d6b70e8ad9161206aef (patch) | |
tree | 332d6a0aecee294b502c991269124e4349fc12a0 /chapter06 | |
parent | 840b7db933f2814ec5be1b0909c07712fb047c93 (diff) |
Update to systemd-245
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11793 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/dbus.xml | 5 | ||||
-rw-r--r-- | chapter06/systemd.xml | 33 |
2 files changed, 32 insertions, 6 deletions
diff --git a/chapter06/dbus.xml b/chapter06/dbus.xml index 7d148d5ce..bb4bffc76 100644 --- a/chapter06/dbus.xml +++ b/chapter06/dbus.xml @@ -96,6 +96,11 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</useri <screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen> + <para>Move the socket file to /run instead of the deprecated + /var/run:</para> + + <screen><userinput remap="install">sed -i 's:/var/run:/run:' /lib/systemd/system/dbus.socket</userinput></screen> + </sect2> <sect2 id="contents-dbus" role="content"> 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> |