diff options
Diffstat (limited to 'chapter08/systemd.xml')
-rw-r--r-- | chapter08/systemd.xml | 11 |
1 files changed, 7 insertions, 4 deletions
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> |