aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-02-19 14:30:57 +0800
committerXi Ruoyao <xry111@xry111.site>2023-02-19 14:30:57 +0800
commit3608d06aa82917b9046ee315924876ce4903efc0 (patch)
tree3f2665ee480b59959779181ef69059a77748d265
parentd94d6060488da23db738078541e4b08a743f763c (diff)
grub: Add upstream fixes patch for unrecognized ext2/3/4 features (#5219)xry111/grub-fix-test
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter01/whatsnew.xml6
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter08/grub.xml9
-rw-r--r--patches.ent8
5 files changed, 34 insertions, 8 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 49f6ec827..dc62bed38 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,17 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
+ <para>2023-02-19</para>
+ <itemizedlist>
+ <listitem>
+ <para>[xry111] - Apply a patch for GRUB for an issue triggered
+ with e2fsprogs-1.47.0. Fixes
+ <ulink url="&lfs-ticket-root;5219">#5219</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2023-02-13</para>
<itemizedlist>
<listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index cd9d32d26..559828720 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -291,11 +291,11 @@
<itemizedlist>
<title>Added:</title>
<listitem><para></para></listitem> <!-- satisfy build -->
-<!--
+
<listitem>
- <para>&bash-fixes-patch;</para>
+ <para>&grub-upstream-fixes-patch;</para>
</listitem>
--->
+
<listitem>
<para>&readline-fixes-patch;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index ae39a70bb..44367898f 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -86,6 +86,14 @@
</varlistentry>
<varlistentry>
+ <term>GRUB Upstream Fixes Patch - <token>&grub-upstream-fixes-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&grub-upstream-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&grub-upstream-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&kbd-backspace-patch;"/></para>
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 04fbef91b..357036c34 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -61,6 +61,15 @@
aggressive optimization.</para>
</warning>
+ <para>
+ Fix an issue causing <command>grub-install</command> to fail when the
+ <filename class='directory'>/boot</filename> partition (or the root
+ partition if <filename class='directory'>/boot</filename> is not a
+ separate partition) is created by e2fsprogs-1.47.0 or later:
+ </para>
+
+<screen><userinput remap='pre'>patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen>
+
<para>Prepare GRUB for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
diff --git a/patches.ent b/patches.ent
index 6e66a4b59..c381cd0a8 100644
--- a/patches.ent
+++ b/patches.ent
@@ -50,11 +50,9 @@
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
<!ENTITY glibc-fhs-patch-size "2.8 KB">
-<!--
-<!ENTITY glibc-upstream-patch "glibc-&glibc-version;-upstream_fixes-1.patch">
-<!ENTITY glibc-upstream-patch-md5 "e602b6c3a332f4a06e2914e02ae2b295">
-<!ENTITY glibc-upstream-patch-size "16 KB">
--->
+<!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch">
+<!ENTITY grub-upstream-fixes-patch-md5 "da388905710bb4cbfbc7bd7346ff9174">
+<!ENTITY grub-upstream-fixes-patch-size "8 KB">
<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">