btrf-progs : patch for kernel headers version < 5.12

This commit is contained in:
Pierre Labastie 2022-01-15 00:47:41 -08:00
parent c3e2b0eec5
commit ef94f43f0f
2 changed files with 28 additions and 0 deletions

View File

@ -41,6 +41,16 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>January 15th, 2022</para>
<itemizedlist>
<listitem>
<para>[pierre] - Apply upstream patch to btrfs-progs-5.16 to be
able to build with kernel headers version &lt; 5.12.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>January 13th, 2022</para>
<itemizedlist>

View File

@ -69,6 +69,17 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch if building with linux kernel headers version
before 5.12:
<ulink url="&patch-root;/btrfs-progs-&btrfs-progs-version;-headers_fix-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Btrfs-progs Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@ -124,6 +135,13 @@
<sect2 role="installation">
<title>Installation of btrfs-progs</title>
<para>
If your system has linux kernel headers with version before 5.12, apply
the following patch:
</para>
<screen><userinput>patch -Np1 -i ../btrfs-progs-&btrfs-progs-version;-headers_fix-1.patch</userinput></screen>
<para>
Install <application>btrfs-progs</application> by running the following
commands: