Browse Source

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
Douglas R. Reno 3 years ago
parent
commit
06addba1bf
4 changed files with 19 additions and 8 deletions
  1. 9 0
      chapter01/changelog.xml
  2. 3 3
      chapter01/whatsnew.xml
  3. 4 2
      chapter08/systemd.xml
  4. 3 3
      patches.ent

+ 9 - 0
chapter01/changelog.xml

@@ -42,6 +42,15 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     -->
+    <listitem revision="systemd">
+      <para>2021-03-04</para>
+      <itemizedlist>
+        <listitem>
+          <para>[renodr] - Patch systemd-247 so that it will function with
+          Linux-5.11 API headers.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
       <para>2021-03-02</para>

+ 3 - 3
chapter01/whatsnew.xml

@@ -281,9 +281,9 @@
     <!--<listitem>
       <para>meson-0.56.0-upstream_fix-1.patch</para>
     </listitem>-->
-    <!--<listitem>
-      <para>systemd-247-upstream_fixes-1.patch</para>
-    </listitem>-->
+    <listitem>
+      <para>systemd-247-upstream_fixes-2.patch</para>
+    </listitem>
 
   </itemizedlist>
 

+ 4 - 2
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>
 

+ 3 - 3
patches.ent

@@ -67,6 +67,6 @@
 <!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc">
 <!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
 
-<!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-1.patch">
-<!ENTITY systemd-upstream-fixes-patch-md5 "573a166f3620875208f78bf4dc431c8b">
-<!ENTITY systemd-upstream-fixes-patch-size "8 KB">
+<!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-2.patch">
+<!ENTITY systemd-upstream-fixes-patch-md5 "7afe3d13464ae7d20dbe5e6f0fb8ccd3">
+<!ENTITY systemd-upstream-fixes-patch-size "12 KB">