aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/chapter08.xml2
-rw-r--r--chapter08/systemd.xml11
2 files changed, 9 insertions, 4 deletions
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index 6e8ff3240..4202deea8 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -83,6 +83,8 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vim.xml"/>
<!-- systemd only -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="markupsafe.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jinja2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 002f6d749..c350dcf3a 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -46,10 +46,11 @@
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-2.patch</userinput></screen>
-->
- <!-- For linux-5.11's API headers changing the rfkill_event structure -->
+ <!-- For linux-5.11's API headers changing the rfkill_event structure
<para>First, apply a patch to fix some build issues:</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>
@@ -57,11 +58,13 @@
<screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
-->
- <para>Remove an unneeded group,
- <systemitem class="groupname">render</systemitem>, from the default udev
+ <para>Remove two unneeded groups,
+ <systemitem class="groupname">render</systemitem> and
+ <systemitem class="groupname">sgx</systemitem>, from the default udev
rules:</para>
-<screen><userinput remap="pre">sed -i 's/GROUP="render"/GROUP="video"/' rules.d/50-udev-default.rules.in</userinput></screen>
+ <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>Prepare systemd for compilation:</para>