|
@@ -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>
|