aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2021-03-05 01:10:02 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2021-03-05 01:10:02 +0000
commit06addba1bf3a118e47393051aed253f237a2b3d3 (patch)
tree3beb8c09470127c4d1c573821caf1c363ba209f1 /chapter08
parent2772bb9c30d8bc9fe97405cf6135c7b43ac0aa16 (diff)
Add systemd patch to allow systemd-rfkill to work on Linux-5.11+
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12154 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/systemd.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 23f27e10a..e701376df 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -46,9 +46,11 @@
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-2.patch</userinput></screen>
-->
- <para>First, apply a patch to fix some regressions:</para>
+ <!-- For linux-5.11's API headers changing the rfkill_event structure -->
+ <para>First, apply a patch to fix some regressions and fix functionality
+ with future versions of the kernel:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-2.patch</userinput></screen>
<para>Create a symlink to work around the xsltproc command not being installed:</para>