aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2019-09-28 03:04:03 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2019-09-28 03:04:03 +0000
commit8a0d39eebe47adcbd5e02ffa73416b455f692966 (patch)
treebec539a8762b318de151cc19ad1d0830786633f2 /chapter06
parent49ce3296d8f47eb7859bca63d49648d1cf755f7a (diff)
Update to systemd-243. BLFS portion coming whenever utility power is restored here.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11678 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/systemd.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 9ba24ded5..8f6d1287e 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -40,10 +40,10 @@
<sect2 role="installation">
<title>Installation of systemd</title>
- <para>First, apply a patch to fix issues with systemd-networkd on Linux 5.2+
- kernels, as well as with AMD Ryzen CPUs:</para>
+ <para>First, apply a patch to fix issues with udev and evdev
+ device node assignment:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-networkd_and_rdrand_fixes-1.patch</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-udev_fix-1.patch</userinput></screen>
<para>Create a symlink to work around missing xsltproc:</para>
@@ -70,8 +70,6 @@ done</userinput></screen>
<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
-<!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->
-
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build
@@ -79,7 +77,6 @@ cd build
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
LANG=en_US.UTF-8 \
-CFLAGS+="-Wno-format-overflow" \
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -207,6 +204,10 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
+ <para>Setup the basic target structure:</para>
+
+<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
+
<para>Remove symbolic links to Util-Linux libraries:</para>
<screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>