aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/systemd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/systemd.xml')
-rw-r--r--chapter08/systemd.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 31d89e01a..545f47889 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -40,6 +40,19 @@
<sect2 role="installation">
<title>Installation of systemd</title>
+ <para>
+ Remove several inappropriate uses of the <literal>pure</literal>
+ attribute or they'd cause runtime issues when the package is built
+ with GCC 13 or later:
+ </para>
+
+<screen><userinput remap='pre'>sed '/bus_message_type_from_string/s/_pure_//' \
+ -i src/libsystemd/sd-bus/bus-internal.h &amp;&amp;
+sed '/devt_hash_func/s/_pure_//' \
+ -i src/basic/hash-funcs.h &amp;&amp;
+sed '/job_get_timeout/s/_pure_//' \
+ -i src/core/job.h</userinput></screen>
+
<para>Remove two unneeded groups,
<systemitem class="groupname">render</systemitem> and
<systemitem class="groupname">sgx</systemitem>, from the default udev
@@ -53,7 +66,8 @@
<screen><userinput remap="configure">mkdir -p build
cd build
-meson --prefix=/usr \
+meson setup \
+ --prefix=/usr \
--buildtype=release \
-Ddefault-dnssec=no \
-Dfirstboot=false \