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 @@ Installation of systemd + + Remove several inappropriate uses of the pure + attribute or they'd cause runtime issues when the package is built + with GCC 13 or later: + + +sed '/bus_message_type_from_string/s/_pure_//' \ + -i src/libsystemd/sd-bus/bus-internal.h && +sed '/devt_hash_func/s/_pure_//' \ + -i src/basic/hash-funcs.h && +sed '/job_get_timeout/s/_pure_//' \ + -i src/core/job.h + Remove two unneeded groups, render and sgx, from the default udev @@ -53,7 +66,8 @@ mkdir -p build cd build -meson --prefix=/usr \ +meson setup \ + --prefix=/usr \ --buildtype=release \ -Ddefault-dnssec=no \ -Dfirstboot=false \