aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/systemd.xml
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2021-12-30 11:39:08 -0600
committerDouglas R. Reno <renodr@linuxfromscratch.org>2021-12-30 11:39:08 -0600
commit6d19228191743967e3f30ebaf833b5d0857d018b (patch)
treeb55be619b2bba567121c622b129a2a4f7dd075d0 /chapter08/systemd.xml
parent6ecd06927ba617a521dafc6c4feb1b60c6941769 (diff)
Package Updates:
Update to systemd-250 (BLFS coming shortly) Update to meson-0.60.3 Kernel Configuration: Enable the framebuffer since it's disabled by default in Linux-5.15. Kernel Configuration: Add a note about CONFIG_DEFAULT_HOSTNAME on systemd.
Diffstat (limited to 'chapter08/systemd.xml')
-rw-r--r--chapter08/systemd.xml20
1 files changed, 6 insertions, 14 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index ec0ffc4a4..ce03354a8 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -41,14 +41,10 @@
<title>Installation of systemd</title>
<!--Fix CVE-2021-33910 -->
+ <!--
<para>First, apply a patch to fix a security vulnerability:</para>
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
-
-<!-- Seems to be not needed anymore with 248
- <para>Remove tests that cannot be built in chroot:</para>
-
-<screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
-->
<para>Remove two unneeded groups,
@@ -59,15 +55,6 @@
<screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
- <para>Fix a meson problem:</para>
-
- <screen><userinput remap="pre">sed -i 's/+ want_libfuzzer.*$/and want_libfuzzer/' meson.build</userinput></screen>
-
- <para>Fix a problem when building with kernel headers from Linux-5.14 and
- later:</para>
-
- <screen><userinput remap="pre">sed -i '/ARPHRD_CAN/a#define ARPHRD_MCTP 290' src/basic/linux/if_arp.h</userinput></screen>
-
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build
@@ -217,6 +204,11 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
+ <para>Fix a regression in a systemd unit that causes a delay when
+ switching TTYs:</para>
+
+<screen><userinput remap="adjust">sed -i 's/idle/simple/' /usr/lib/systemd/system/getty@.service</userinput></screen>
+
<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
If it causes any trouble, we can add this back and also copy it into BLFS -->
<!--