From 3608d06aa82917b9046ee315924876ce4903efc0 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 19 Feb 2023 14:30:57 +0800 Subject: grub: Add upstream fixes patch for unrecognized ext2/3/4 features (#5219) --- chapter01/changelog.xml | 11 +++++++++++ chapter01/whatsnew.xml | 6 +++--- chapter03/patches.xml | 8 ++++++++ chapter08/grub.xml | 9 +++++++++ patches.ent | 8 +++----- 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 @@ -39,6 +39,17 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-02-19 + + + [xry111] - Apply a patch for GRUB for an issue triggered + with e2fsprogs-1.47.0. Fixes + #5219. + + + + 2023-02-13 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 @@ Added: - + &readline-fixes-patch; diff --git a/chapter03/patches.xml b/chapter03/patches.xml index ae39a70bb..44367898f 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -85,6 +85,14 @@ + + GRUB Upstream Fixes Patch - &grub-upstream-fixes-patch-size;: + + Download: + MD5 sum: &grub-upstream-fixes-patch-md5; + + + Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: 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. + + Fix an issue causing grub-install to fail when the + /boot partition (or the root + partition if /boot is not a + separate partition) is created by e2fsprogs-1.47.0 or later: + + +patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch + Prepare GRUB for compilation: ./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 @@ - + + + -- cgit v1.2.3-54-g00ecf