[packages/grub2] Rel 2; raise initrd max address since grub now checks for that and prevents loading our RCD images i
arekm
arekm at pld-linux.org
Mon Nov 4 15:05:28 CET 2024
commit 7eb53f75f15dd6e9b37c5a981485addebe6261a0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Nov 4 14:20:23 2024 +0100
Rel 2; raise initrd max address since grub now checks for that and prevents loading our RCD images if too low
grub2.spec | 4 +++-
initrd-max-address.patch | 13 +++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/grub2.spec b/grub2.spec
index 9e8cc07..2c8461c 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -144,7 +144,7 @@ Summary(pl.UTF-8): GRUB2 - bootloader dla x86 i ppc
Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2
Name: grub2
Version: 2.12
-Release: 1
+Release: 2
License: GPL v2
Group: Base
Source0: https://ftp.gnu.org/gnu/grub/grub-%{version}.tar.xz
@@ -160,6 +160,7 @@ Patch4: pld-mkconfigdir.patch
Patch5: grub-mkconfig-diagnostics.patch
Patch6: posix.patch
Patch7: %{name}-fonts_path.patch
+Patch8: initrd-max-address.patch
Patch9: just-say-linux.patch
Patch10: ignore-kernel-symlinks.patch
Patch11: choose-preferred-initrd.patch
@@ -529,6 +530,7 @@ Motyw starfield dla GRUB-a.
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
diff --git a/initrd-max-address.patch b/initrd-max-address.patch
new file mode 100644
index 0000000..3c0d550
--- /dev/null
+++ b/initrd-max-address.patch
@@ -0,0 +1,13 @@
+; https://help-grub.gnu.narkive.com/8RcDkxFC/grub-and-linux-s-initrd-addr-max
+; https://git.rthoni.com/robin.thoni/ipxe/commit/4cc786de810a74659b6266d04188c78b5b202103?lang=pl-PL
+--- grub-2.12/include/grub/i386/linux.h~ 2023-10-03 14:21:48.000000000 +0200
++++ grub-2.12/include/grub/i386/linux.h 2024-11-04 14:15:17.553066287 +0100
+@@ -23,7 +23,7 @@
+
+ #define GRUB_LINUX_I386_MAGIC_SIGNATURE 0x53726448 /* "HdrS" */
+ #define GRUB_LINUX_DEFAULT_SETUP_SECTS 4
+-#define GRUB_LINUX_INITRD_MAX_ADDRESS 0x37FFFFFF
++#define GRUB_LINUX_INITRD_MAX_ADDRESS 0x7FFFFFFF
+ #define GRUB_LINUX_MAX_SETUP_SECTS 64
+ #define GRUB_LINUX_BOOT_LOADER_TYPE 0x72
+ #define GRUB_LINUX_HEAP_END_OFFSET (0x9000 - 0x200)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/7eb53f75f15dd6e9b37c5a981485addebe6261a0
More information about the pld-cvs-commit
mailing list