diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-03-31 12:39:23 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-03-31 12:39:23 -0500 |
commit | f30c2e8029ba02f0e47d308ca9aafa835986ba14 (patch) | |
tree | b89239f810c57522dd8ba4d859432ddaf328fc10 | |
parent | 676f0fdcecb3d53217a274db1138ff22005bea9a (diff) |
Add in the patch needed for systemd with the 5.17 kernel
-rw-r--r-- | chapter03/patches.xml | 8 | ||||
-rw-r--r-- | chapter08/systemd.xml | 5 | ||||
-rw-r--r-- | patches.ent | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/chapter03/patches.xml b/chapter03/patches.xml index c4dae4abb..0e22d26c0 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -142,6 +142,14 @@ </listitem> </varlistentry> + <varlistentry revision="systemd"> + <term>Systemd Kernel Fixes Patch - <token>&systemd-kernel-fixes-patch-size;</token>:</term> + <listitem> + <para>Download: <ulink url="&patches-root;&systemd-kernel-fixes-patch;"/></para> + <para>MD5 sum: <literal>&systemd-kernel-fixes-patch-md5;</literal></para> + </listitem> + </varlistentry> + <varlistentry> <term>Zstd Upstream Fixes Patch - <token>&zstd-upstream-fixes-patch-size;</token>:</term> <listitem> diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 2ce2b1b83..43e1cea6c 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -45,6 +45,11 @@ <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen> + <para>Now, apply a patch to fix a problem with the linux kernel's headers in + version 5.17 and later:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-kernel_5.17_fixes-1.patch</userinput></screen> + <para>Remove two unneeded groups, <systemitem class="groupname">render</systemitem> and <systemitem class="groupname">sgx</systemitem>, from the default udev diff --git a/patches.ent b/patches.ent index 5dd7ffcaa..8f4f0d188 100644 --- a/patches.ent +++ b/patches.ent @@ -89,6 +89,10 @@ <!ENTITY systemd-upstream-fixes-patch-md5 "71eac6abdad5fba2039dcd011a9ae5b3"> <!ENTITY systemd-upstream-fixes-patch-size "20 KB"> +<!ENTITY systemd-kernel-fixes-patch "systemd-&systemd-version;-kernel_5.17_fixes-1.patch"> +<!ENTITY systemd-kernel-fixes-patch-md5 "34cee987b35d5d522fd3317e08057c1d"> +<!ENTITY systemd-kernel-fixes-patch-size "2.7 KB"> + <!ENTITY zstd-upstream-fixes-patch "zstd-&zstd-version;-upstream_fixes-1.patch"> <!ENTITY zstd-upstream-fixes-patch-md5 "a7e576e3f87415fdf388392b257cdcf3"> <!ENTITY zstd-upstream-fixes-patch-size "4 KB"> |