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
This commit is contained in:
Douglas R. Reno 2021-03-05 01:10:02 +00:00
parent 2772bb9c30
commit 06addba1bf
4 changed files with 19 additions and 8 deletions

View File

@ -42,6 +42,15 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as <listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem. 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> <listitem>
<para>2021-03-02</para> <para>2021-03-02</para>

View File

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

View File

@ -46,9 +46,11 @@
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-2.patch</userinput></screen> <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> <para>Create a symlink to work around the xsltproc command not being installed:</para>

View File

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