Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
staging
rpms
grub2
Commits
5f1f6629
Commit
5f1f6629
authored
Nov 15, 2022
by
Rocky Automation
📺
Browse files
import grub2-2.06-46.el9
parent
9879dae4
Changes
292
Hide whitespace changes
Inline
Side-by-side
SOURCES/0001-Revert-templates-Fix-user-facing-typo-with-an-incorr.patch
View file @
5f1f6629
...
...
@@ -10,7 +10,7 @@ This reverts commit 722737630889607c3b5761f1f5a48f1674cd2821.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
index 5984e92d29..9462248128 100644
index 5984e92d29
1
..9462248128
4
100644
--- a/util/grub.d/30_os-prober.in
+++ b/util/grub.d/30_os-prober.in
@@ -36,7 +36,7 @@
if ! command -v os-prober > /dev/null || ! command -v linux-boot-prober > /dev/n
...
...
SOURCES/0002-Revert-templates-Properly-disable-the-os-prober-by-d.patch
View file @
5f1f6629
...
...
@@ -10,7 +10,7 @@ This reverts commit 54e0a1bbf1e9106901a557195bb35e5e20fb3925.
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
index f8cbb8d7a2..d3e879b8e5 100644
index f8cbb8d7a2
b
..d3e879b8e5
c
100644
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -140,9 +140,6 @@
GRUB_DEVICE_PARTUUID="`${grub_probe} --device ${GRUB_DEVICE} --target=partuuid 2
...
...
@@ -40,7 +40,7 @@ index f8cbb8d7a2..d3e879b8e5 100644
GRUB_SAVEDEFAULT \
GRUB_ENABLE_CRYPTODISK \
diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
index 9462248128..80685b15f4 100644
index 9462248128
4
..80685b15f4
d
100644
--- a/util/grub.d/30_os-prober.in
+++ b/util/grub.d/30_os-prober.in
@@ -26,8 +26,8 @@
export TEXTDOMAINDIR="@localedir@"
...
...
SOURCES/0003-Revert-templates-Disable-the-os-prober-by-default.patch
View file @
5f1f6629
...
...
@@ -10,7 +10,7 @@ This reverts commit e346414725a70e5c74ee87ca14e580c66f517666.
2 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/docs/grub.texi b/docs/grub.texi
index f8b4b3b21a..69f08d289f 100644
index f8b4b3b21a
7
..69f08d289f
9
100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -1519,13 +1519,10 @@
boot sequence. If you have problems, set this option to @samp{text} and
...
...
@@ -46,7 +46,7 @@ index f8b4b3b21a..69f08d289f 100644
First create a separate GRUB partition, big enough to hold GRUB. Some of the
following entries show how to load OS installer images from this same partition,
diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
index 80685b15f4..1b91c102f3 100644
index 80685b15f4
d
..1b91c102f3
5
100644
--- a/util/grub.d/30_os-prober.in
+++ b/util/grub.d/30_os-prober.in
@@ -26,8 +26,7 @@
export TEXTDOMAINDIR="@localedir@"
...
...
SOURCES/0004-Add-support-for-Linux-EFI-stub-loading.patch
View file @
5f1f6629
...
...
@@ -44,7 +44,7 @@ moves the check into grub_dl_load_file.
create mode 100644 include/grub/efi/linux.h
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
index 8022e1c0a7..45d3edaa4d 100644
index 8022e1c0a7
9
..45d3edaa4d
c
100644
--- a/grub-core/Makefile.core.def
+++ b/grub-core/Makefile.core.def
@@ -1734,13 +1734,6 @@
module = {
...
...
@@ -88,7 +88,7 @@ index 8022e1c0a7..45d3edaa4d 100644
module = {
diff --git a/grub-core/kern/dl.c b/grub-core/kern/dl.c
index 48f8a79073..b714937095 100644
index 48f8a79073
d
..b714937095
0
100644
--- a/grub-core/kern/dl.c
+++ b/grub-core/kern/dl.c
@@ -38,6 +38,14 @@
...
...
@@ -127,7 +127,7 @@ index 48f8a79073..b714937095 100644
file = grub_file_open (filename, GRUB_FILE_TYPE_GRUB_MODULE);
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
index 8cff7be028..35b8f67060 100644
index 8cff7be028
9
..35b8f67060
2
100644
--- a/grub-core/kern/efi/efi.c
+++ b/grub-core/kern/efi/efi.c
@@ -286,6 +286,34 @@
grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
...
...
@@ -166,7 +166,7 @@ index 8cff7be028..35b8f67060 100644
/* Search the mods section from the PE32/PE32+ image. This code uses
diff --git a/grub-core/kern/efi/mm.c b/grub-core/kern/efi/mm.c
index 9838fb2f50..f6aef0ef64 100644
index 9838fb2f50
d
..f6aef0ef64
9
100644
--- a/grub-core/kern/efi/mm.c
+++ b/grub-core/kern/efi/mm.c
@@ -113,6 +113,38 @@
grub_efi_drop_alloc (grub_efi_physical_address_t address,
...
...
@@ -209,7 +209,7 @@ index 9838fb2f50..f6aef0ef64 100644
void *
grub_efi_allocate_pages_real (grub_efi_physical_address_t address,
diff --git a/grub-core/loader/arm64/linux.c b/grub-core/loader/arm64/linux.c
index ef3e9f9444..a312c66868 100644
index ef3e9f9444
c
..a312c66868
5
100644
--- a/grub-core/loader/arm64/linux.c
+++ b/grub-core/loader/arm64/linux.c
@@ -29,6 +29,7 @@
...
...
@@ -390,7 +390,7 @@ index ef3e9f9444..a312c66868 100644
linux_args = grub_malloc (cmdline_size);
if (!linux_args)
diff --git a/grub-core/loader/arm64/xen_boot.c b/grub-core/loader/arm64/xen_boot.c
index 22cc25eccd..d9b7a9ba40 100644
index 22cc25eccd
9
..d9b7a9ba40
0
100644
--- a/grub-core/loader/arm64/xen_boot.c
+++ b/grub-core/loader/arm64/xen_boot.c
@@ -266,7 +266,6 @@
xen_boot (void)
...
...
@@ -403,7 +403,7 @@ index 22cc25eccd..d9b7a9ba40 100644
diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c
new file mode 100644
index 0000000000..c24202a5dd
index 0000000000
0
..c24202a5dd
1
--- /dev/null
+++ b/grub-core/loader/efi/linux.c
@@ -0,0 +1,70 @@
...
...
@@ -479,7 +479,7 @@ index 0000000000..c24202a5dd
+#pragma GCC diagnostic pop
diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
new file mode 100644
index 0000000000..bb2616a809
index 0000000000
0
..bb2616a809
2
--- /dev/null
+++ b/grub-core/loader/i386/efi/linux.c
@@ -0,0 +1,335 @@
...
...
@@ -819,7 +819,7 @@ index 0000000000..bb2616a809
+ grub_unregister_command (cmd_initrdefi);
+}
diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c
index 2a29952016..8be4c3b3f4 100644
index 2a29952016
0
..8be4c3b3f4
8
100644
--- a/grub-core/loader/i386/pc/linux.c
+++ b/grub-core/loader/i386/pc/linux.c
@@ -474,14 +474,20 @@
grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)),
...
...
@@ -853,7 +853,7 @@ index 2a29952016..8be4c3b3f4 100644
+ grub_unregister_command (cmd_initrd16);
}
diff --git a/include/grub/arm/linux.h b/include/grub/arm/linux.h
index bcd5a7eb18..b582f67f66 100644
index bcd5a7eb18
6
..b582f67f66
1
100644
--- a/include/grub/arm/linux.h
+++ b/include/grub/arm/linux.h
@@ -20,6 +20,7 @@
...
...
@@ -883,7 +883,7 @@ index bcd5a7eb18..b582f67f66 100644
#if defined GRUB_MACHINE_UBOOT
diff --git a/include/grub/arm64/linux.h b/include/grub/arm64/linux.h
index 7e22b4ab69..ea030312df 100644
index 7e22b4ab69
9
..ea030312df
3
100644
--- a/include/grub/arm64/linux.h
+++ b/include/grub/arm64/linux.h
@@ -19,6 +19,7 @@
...
...
@@ -913,7 +913,7 @@ index 7e22b4ab69..ea030312df 100644
#endif /* ! GRUB_ARM64_LINUX_HEADER */
diff --git a/include/grub/efi/efi.h b/include/grub/efi/efi.h
index 83d958f994..6295df85f3 100644
index 83d958f994
5
..6295df85f3
f
100644
--- a/include/grub/efi/efi.h
+++ b/include/grub/efi/efi.h
@@ -47,6 +47,9 @@
EXPORT_FUNC(grub_efi_allocate_fixed) (grub_efi_physical_address_t address,
...
...
@@ -946,7 +946,7 @@ index 83d958f994..6295df85f3 100644
grub_addr_t grub_efi_modules_addr (void);
diff --git a/include/grub/efi/linux.h b/include/grub/efi/linux.h
new file mode 100644
index 0000000000..d9ede36773
index 0000000000
0
..d9ede36773
b
--- /dev/null
+++ b/include/grub/efi/linux.h
@@ -0,0 +1,31 @@
...
...
SOURCES/0005-Rework-linux-command.patch
View file @
5f1f6629
...
...
@@ -13,7 +13,7 @@ Signed-off-by: Matthew Garrett <mjg59@coreos.com>
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/grub-core/loader/i386/linux.c b/grub-core/loader/i386/linux.c
index 9f74a96b19..dccf3bb300 100644
index 9f74a96b19
a
..dccf3bb300
5
100644
--- a/grub-core/loader/i386/linux.c
+++ b/grub-core/loader/i386/linux.c
@@ -649,13 +649,15 @@
grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
...
...
SOURCES/0006-Rework-linux16-command.patch
View file @
5f1f6629
...
...
@@ -13,7 +13,7 @@ Signed-off-by: Matthew Garrett <mjg59@coreos.com>
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c
index 8be4c3b3f4..4b1750e360 100644
index 8be4c3b3f4
8
..4b1750e360
e
100644
--- a/grub-core/loader/i386/pc/linux.c
+++ b/grub-core/loader/i386/pc/linux.c
@@ -124,13 +124,14 @@
grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
...
...
SOURCES/0007-Add-secureboot-support-on-efi-chainloader.patch
View file @
5f1f6629
...
...
@@ -175,7 +175,7 @@ Signed-off-by: Laszlo Ersek <lersek@redhat.com>
7 files changed, 840 insertions(+), 90 deletions(-)
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
index 35b8f67060..4a2259aa1c 100644
index 35b8f67060
2
..4a2259aa1c
7
100644
--- a/grub-core/kern/efi/efi.c
+++ b/grub-core/kern/efi/efi.c
@@ -296,14 +296,20 @@
grub_efi_secure_boot (void)
...
...
@@ -204,7 +204,7 @@ index 35b8f67060..4a2259aa1c 100644
if (*secure_boot && !*setup_mode)
ret = 1;
diff --git a/grub-core/loader/arm64/linux.c b/grub-core/loader/arm64/linux.c
index a312c66868..04994d5c67 100644
index a312c66868
5
..04994d5c67
d
100644
--- a/grub-core/loader/arm64/linux.c
+++ b/grub-core/loader/arm64/linux.c
@@ -284,6 +284,7 @@
grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
...
...
@@ -226,7 +226,7 @@ index a312c66868..04994d5c67 100644
grub_error (GRUB_ERR_INVALID_COMMAND, N_("%s has invalid signature"), argv[0]);
goto fail;
diff --git a/grub-core/loader/efi/chainloader.c b/grub-core/loader/efi/chainloader.c
index 2bd80f4db3..b54cf6986f 100644
index 2bd80f4db3
d
..b54cf6986f
c
100644
--- a/grub-core/loader/efi/chainloader.c
+++ b/grub-core/loader/efi/chainloader.c
@@ -32,6 +32,8 @@
...
...
@@ -1165,7 +1165,7 @@ index 2bd80f4db3..b54cf6986f 100644
return grub_errno;
diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c
index c24202a5dd..c8ecce6dfd 100644
index c24202a5dd
1
..c8ecce6dfd
0
100644
--- a/grub-core/loader/efi/linux.c
+++ b/grub-core/loader/efi/linux.c
@@ -33,21 +33,34 @@
struct grub_efi_shim_lock
...
...
@@ -1210,7 +1210,7 @@ index c24202a5dd..c8ecce6dfd 100644
#pragma GCC diagnostic push
diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
index bb2616a809..6b24cbb948 100644
index bb2616a809
2
..6b24cbb948
3
100644
--- a/grub-core/loader/i386/efi/linux.c
+++ b/grub-core/loader/i386/efi/linux.c
@@ -117,6 +117,8 @@
grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)),
...
...
@@ -1278,7 +1278,7 @@ index bb2616a809..6b24cbb948 100644
grub_file_close (file);
diff --git a/include/grub/efi/linux.h b/include/grub/efi/linux.h
index d9ede36773..0033d9305a 100644
index d9ede36773
b
..0033d9305a
9
100644
--- a/include/grub/efi/linux.h
+++ b/include/grub/efi/linux.h
@@ -22,7 +22,7 @@
...
...
@@ -1291,7 +1291,7 @@ index d9ede36773..0033d9305a 100644
grub_err_t
EXPORT_FUNC(grub_efi_linux_boot) (void *kernel_address, grub_off_t offset,
diff --git a/include/grub/efi/pe32.h b/include/grub/efi/pe32.h
index 0ed8781f03..a43adf2746 100644
index 0ed8781f03
7
..a43adf2746
4
100644
--- a/include/grub/efi/pe32.h
+++ b/include/grub/efi/pe32.h
@@ -223,7 +223,11 @@
struct grub_pe64_optional_header
...
...
SOURCES/0008-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch
View file @
5f1f6629
...
...
@@ -32,7 +32,7 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
create mode 100644 include/grub/sparc64/linux.h
diff --git a/grub-core/commands/iorw.c b/grub-core/commands/iorw.c
index 584baec8f9..7b2999b14b 100644
index 584baec8f9
1
..7b2999b14b
5
100644
--- a/grub-core/commands/iorw.c
+++ b/grub-core/commands/iorw.c
@@ -24,6 +24,7 @@
...
...
@@ -64,7 +64,7 @@ index 584baec8f9..7b2999b14b 100644
grub_unregister_extcmd (cmd_read_word);
grub_unregister_extcmd (cmd_read_dword);
diff --git a/grub-core/commands/memrw.c b/grub-core/commands/memrw.c
index d401a6db0e..39cf3a06db 100644
index d401a6db0e
f
..39cf3a06db
d
100644
--- a/grub-core/commands/memrw.c
+++ b/grub-core/commands/memrw.c
@@ -23,6 +23,7 @@
...
...
@@ -96,7 +96,7 @@ index d401a6db0e..39cf3a06db 100644
grub_unregister_extcmd (cmd_read_word);
grub_unregister_extcmd (cmd_read_dword);
diff --git a/grub-core/kern/dl.c b/grub-core/kern/dl.c
index b714937095..7afb9e6f72 100644
index b714937095
0
..7afb9e6f72
4
100644
--- a/grub-core/kern/dl.c
+++ b/grub-core/kern/dl.c
@@ -32,6 +32,7 @@
...
...
@@ -117,7 +117,7 @@ index b714937095..7afb9e6f72 100644
#if 0
/* This is an error, but grub2-mkconfig still generates a pile of
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
index 4a2259aa1c..8cff7be028 100644
index 4a2259aa1c
7
..8cff7be028
9
100644
--- a/grub-core/kern/efi/efi.c
+++ b/grub-core/kern/efi/efi.c
@@ -286,40 +286,6 @@
grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
...
...
@@ -162,7 +162,7 @@ index 4a2259aa1c..8cff7be028 100644
/* Search the mods section from the PE32/PE32+ image. This code uses
diff --git a/grub-core/loader/efi/appleloader.c b/grub-core/loader/efi/appleloader.c
index 74888c463b..585f2b5738 100644
index 74888c463b
a
..585f2b5738
5
100644
--- a/grub-core/loader/efi/appleloader.c
+++ b/grub-core/loader/efi/appleloader.c
@@ -24,6 +24,7 @@
...
...
@@ -193,7 +193,7 @@ index 74888c463b..585f2b5738 100644
grub_unregister_command (cmd);
}
diff --git a/grub-core/loader/efi/chainloader.c b/grub-core/loader/efi/chainloader.c
index b54cf6986f..3ff305b1d3 100644
index b54cf6986f
c
..3ff305b1d3
2
100644
--- a/grub-core/loader/efi/chainloader.c
+++ b/grub-core/loader/efi/chainloader.c
@@ -34,6 +34,7 @@
...
...
@@ -205,7 +205,7 @@ index b54cf6986f..3ff305b1d3 100644
#include <grub/i18n.h>
#include <grub/net.h>
diff --git a/grub-core/loader/i386/bsd.c b/grub-core/loader/i386/bsd.c
index 5f3290ce17..54befc2662 100644
index 5f3290ce17
b
..54befc2662
6
100644
--- a/grub-core/loader/i386/bsd.c
+++ b/grub-core/loader/i386/bsd.c
@@ -40,6 +40,7 @@
...
...
@@ -237,7 +237,7 @@ index 5f3290ce17..54befc2662 100644
grub_unregister_extcmd (cmd_openbsd);
grub_unregister_extcmd (cmd_netbsd);
diff --git a/grub-core/loader/i386/linux.c b/grub-core/loader/i386/linux.c
index dccf3bb300..4aeb0e4b9a 100644
index dccf3bb300
5
..4aeb0e4b9a
6
100644
--- a/grub-core/loader/i386/linux.c
+++ b/grub-core/loader/i386/linux.c
@@ -37,6 +37,7 @@
...
...
@@ -269,7 +269,7 @@ index dccf3bb300..4aeb0e4b9a 100644
grub_unregister_command (cmd_initrd);
}
diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c
index 4b1750e360..e3fa1221e8 100644
index 4b1750e360
e
..e3fa1221e8
1
100644
--- a/grub-core/loader/i386/pc/linux.c
+++ b/grub-core/loader/i386/pc/linux.c
@@ -36,6 +36,7 @@
...
...
@@ -301,7 +301,7 @@ index 4b1750e360..e3fa1221e8 100644
grub_unregister_command (cmd_linux16);
grub_unregister_command (cmd_initrd);
diff --git a/grub-core/loader/multiboot.c b/grub-core/loader/multiboot.c
index facb13f3d3..47e481f457 100644
index facb13f3d3
6
..47e481f457
6
100644
--- a/grub-core/loader/multiboot.c
+++ b/grub-core/loader/multiboot.c
@@ -50,6 +50,7 @@
...
...
@@ -333,7 +333,7 @@ index facb13f3d3..47e481f457 100644
grub_unregister_command (cmd_module);
}
diff --git a/grub-core/loader/xnu.c b/grub-core/loader/xnu.c
index 1c0cf6a430..baa54e652a 100644
index 1c0cf6a430
a
..baa54e652a
b
100644
--- a/grub-core/loader/xnu.c
+++ b/grub-core/loader/xnu.c
@@ -35,6 +35,7 @@
...
...
@@ -365,7 +365,7 @@ index 1c0cf6a430..baa54e652a 100644
grub_unregister_command (cmd_resume);
#endif
diff --git a/include/grub/efi/efi.h b/include/grub/efi/efi.h
index 6295df85f3..585fa6662b 100644
index 6295df85f3
f
..585fa6662b
6
100644
--- a/include/grub/efi/efi.h
+++ b/include/grub/efi/efi.h
@@ -91,7 +91,6 @@
EXPORT_FUNC (grub_efi_set_variable) (const char *var,
...
...
@@ -378,13 +378,13 @@ index 6295df85f3..585fa6662b 100644
const grub_efi_device_path_t *dp2);
diff --git a/include/grub/ia64/linux.h b/include/grub/ia64/linux.h
new file mode 100644
index 0000000000..e69de29bb2
index 0000000000
0
..e69de29bb2
d
diff --git a/include/grub/mips/linux.h b/include/grub/mips/linux.h
new file mode 100644
index 0000000000..e69de29bb2
index 0000000000
0
..e69de29bb2
d
diff --git a/include/grub/powerpc/linux.h b/include/grub/powerpc/linux.h
new file mode 100644
index 0000000000..e69de29bb2
index 0000000000
0
..e69de29bb2
d
diff --git a/include/grub/sparc64/linux.h b/include/grub/sparc64/linux.h
new file mode 100644
index 0000000000..e69de29bb2
index 0000000000
0
..e69de29bb2
d
SOURCES/0009-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch
View file @
5f1f6629
...
...
@@ -13,7 +13,7 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
3 files changed, 89 insertions(+), 37 deletions(-)
diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c
index c8ecce6dfd..0622dfa48d 100644
index c8ecce6dfd
0
..0622dfa48d
4
100644
--- a/grub-core/loader/efi/linux.c
+++ b/grub-core/loader/efi/linux.c
@@ -69,12 +69,17 @@
grub_linuxefi_secure_validate (void *data, grub_uint32_t size)
...
...
@@ -37,7 +37,7 @@ index c8ecce6dfd..0622dfa48d 100644
return GRUB_ERR_BUG;
diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
index 6b24cbb948..3017d0f3e5 100644
index 6b24cbb948
3
..3017d0f3e5
2
100644
--- a/grub-core/loader/i386/efi/linux.c
+++ b/grub-core/loader/i386/efi/linux.c
@@ -44,14 +44,10 @@
static char *linux_cmdline;
...
...
@@ -245,7 +245,7 @@ index 6b24cbb948..3017d0f3e5 100644
if (kernel_mem && !loaded)
grub_efi_free_pages ((grub_efi_physical_address_t)(grub_addr_t)kernel_mem,
diff --git a/include/grub/i386/linux.h b/include/grub/i386/linux.h
index eddf9251d9..25ef52c04e 100644
index eddf9251d9
a
..25ef52c04e
b
100644
--- a/include/grub/i386/linux.h
+++ b/include/grub/i386/linux.h
@@ -138,7 +138,12 @@
struct linux_i386_kernel_header
...
...
SOURCES/0010-re-write-.gitignore.patch
View file @
5f1f6629
...
...
@@ -20,7 +20,7 @@ Subject: [PATCH] re-write .gitignore
create mode 100644 util/bash-completion.d/.gitignore
diff --git a/.gitignore b/.gitignore
index f6a1bd0517..594d0134d3 100644
index f6a1bd0517
5
..594d0134d3
3
100644
--- a/.gitignore
+++ b/.gitignore
@@ -275,3 +275,155 @@
widthspec.bin
...
...
@@ -181,7 +181,7 @@ index f6a1bd0517..594d0134d3 100644
+/widthspec.h
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 0000000000..e1d849ef95
index 0000000000
0
..e1d849ef95
b
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,5 @@
...
...
@@ -192,7 +192,7 @@ index 0000000000..e1d849ef95
+/version*.texi
diff --git a/grub-core/.gitignore b/grub-core/.gitignore
new file mode 100644
index 0000000000..2acce28115
index 0000000000
0
..2acce28115
9
--- /dev/null
+++ b/grub-core/.gitignore
@@ -0,0 +1,16 @@
...
...
@@ -214,14 +214,14 @@ index 0000000000..2acce28115
+/trigtables.c
diff --git a/grub-core/lib/.gitignore b/grub-core/lib/.gitignore
new file mode 100644
index 0000000000..6815459140
index 0000000000
0
..6815459140
4
--- /dev/null
+++ b/grub-core/lib/.gitignore
@@ -0,0 +1 @@
+/libgcrypt-grub/
diff --git a/include/grub/gcrypt/.gitignore b/include/grub/gcrypt/.gitignore
new file mode 100644
index 0000000000..8fbf564624
index 0000000000
0
..8fbf564624
6
--- /dev/null
+++ b/include/grub/gcrypt/.gitignore
@@ -0,0 +1,2 @@
...
...
@@ -229,7 +229,7 @@ index 0000000000..8fbf564624
+gcrypt.h
diff --git a/po/.gitignore b/po/.gitignore
new file mode 100644
index 0000000000..f507e7741e
index 0000000000
0
..f507e7741e
3
--- /dev/null
+++ b/po/.gitignore
@@ -0,0 +1,5 @@
...
...
@@ -240,7 +240,7 @@ index 0000000000..f507e7741e
+/stamp-po
diff --git a/util/bash-completion.d/.gitignore b/util/bash-completion.d/.gitignore
new file mode 100644
index 0000000000..6813a527ad
index 0000000000
0
..6813a527ad
3
--- /dev/null
+++ b/util/bash-completion.d/.gitignore
@@ -0,0 +1,2 @@
...
...
SOURCES/0011-IBM-client-architecture-CAS-reboot-support.patch
View file @
5f1f6629
...
...
@@ -25,7 +25,7 @@ parameters
4 files changed, 91 insertions(+)
diff --git a/grub-core/kern/ieee1275/openfw.c b/grub-core/kern/ieee1275/openfw.c
index 4d493ab766..3a6689abb1 100644
index 4d493ab766
1
..3a6689abb1
1
100644
--- a/grub-core/kern/ieee1275/openfw.c
+++ b/grub-core/kern/ieee1275/openfw.c
@@ -591,3 +591,66 @@
grub_ieee1275_get_boot_dev (void)
...
...
@@ -96,7 +96,7 @@ index 4d493ab766..3a6689abb1 100644
+ return 0;
+}
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
index c4ebe9e22a..70614de156 100644
index c4ebe9e22a
d
..70614de156
5
100644
--- a/grub-core/normal/main.c
+++ b/grub-core/normal/main.c
@@ -34,6 +34,9 @@
...
...
@@ -133,7 +133,7 @@ index c4ebe9e22a..70614de156 100644
grub_errno = GRUB_ERR_NONE;
}
diff --git a/grub-core/script/execute.c b/grub-core/script/execute.c
index 25158407dd..ad80399246 100644
index 25158407dd
8
..ad80399246
a
100644
--- a/grub-core/script/execute.c
+++ b/grub-core/script/execute.c
@@ -28,6 +28,9 @@
...
...
@@ -158,7 +158,7 @@ index 25158407dd..ad80399246 100644
{
char *line;
diff --git a/include/grub/ieee1275/ieee1275.h b/include/grub/ieee1275/ieee1275.h
index 73e2f46447..0a599607f3 100644
index 73e2f46447
5
..0a599607f3
1
100644
--- a/include/grub/ieee1275/ieee1275.h
+++ b/include/grub/ieee1275/ieee1275.h
@@ -254,6 +254,8 @@
int EXPORT_FUNC(grub_ieee1275_devalias_next) (struct grub_ieee1275_devalias *ali
...
...
SOURCES/0012-for-ppc-reset-console-display-attr-when-clear-screen.patch
View file @
5f1f6629
...
...
@@ -15,7 +15,7 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c
index 85ecf06b4d..05c88dcf49 100644
index 85ecf06b4d
f
..05c88dcf49
e
100644
--- a/grub-core/term/terminfo.c
+++ b/grub-core/term/terminfo.c
@@ -151,7 +151,7 @@
grub_terminfo_set_current (struct grub_term_output *term,
...
...
SOURCES/0013-Disable-GRUB-video-support-for-IBM-power-machines.patch
View file @
5f1f6629
...
...
@@ -12,7 +12,7 @@ https://bugzilla.redhat.com/show_bug.cgi?id=973205
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/grub-core/kern/ieee1275/cmain.c b/grub-core/kern/ieee1275/cmain.c
index 20cbbd761e..04df9d2c66 100644
index 20cbbd761e
c
..04df9d2c66
7
100644
--- a/grub-core/kern/ieee1275/cmain.c
+++ b/grub-core/kern/ieee1275/cmain.c
@@ -90,7 +90,10 @@
grub_ieee1275_find_options (void)
...
...
@@ -28,7 +28,7 @@ index 20cbbd761e..04df9d2c66 100644
/* Old Macs have no key repeat, newer ones have fully working one.
The ones inbetween when repeated key generates an escaoe sequence
diff --git a/grub-core/video/ieee1275.c b/grub-core/video/ieee1275.c
index 17a3dbbb57..b8e4b3feb3 100644
index 17a3dbbb57
5
..b8e4b3feb3
2
100644
--- a/grub-core/video/ieee1275.c
+++ b/grub-core/video/ieee1275.c
@@ -352,9 +352,12 @@
static struct grub_video_adapter grub_video_ieee1275_adapter =
...
...
@@ -48,7 +48,7 @@ index 17a3dbbb57..b8e4b3feb3 100644
GRUB_MOD_FINI(ieee1275_fb)
diff --git a/include/grub/ieee1275/ieee1275.h b/include/grub/ieee1275/ieee1275.h
index 0a599607f3..b5a1d49bbc 100644
index 0a599607f3
1
..b5a1d49bbc
3
100644
--- a/include/grub/ieee1275/ieee1275.h
+++ b/include/grub/ieee1275/ieee1275.h
@@ -148,6 +148,8 @@
enum grub_ieee1275_flag
...
...
SOURCES/0014-Move-bash-completion-script-922997.patch
View file @
5f1f6629
...
...
@@ -10,7 +10,7 @@ Apparently these go in a new place now.
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7517fc49d9..8331f95b64 100644
index 7517fc49d9
8
..8331f95b64
5
100644
--- a/configure.ac
+++ b/configure.ac
@@ -314,6 +314,14 @@
AC_SUBST(grubdirname)
...
...
@@ -39,7 +39,7 @@ index 7517fc49d9..8331f95b64 100644
if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then
tmp_ac_tool_prefix="$ac_tool_prefix"
diff --git a/util/bash-completion.d/Makefile.am b/util/bash-completion.d/Makefile.am
index 136287cf1b..61108f0542 100644
index 136287cf1b
f
..61108f0542
9
100644
--- a/util/bash-completion.d/Makefile.am
+++ b/util/bash-completion.d/Makefile.am
@@ -6,7 +6,6 @@
EXTRA_DIST = $(bash_completion_source)
...
...
SOURCES/0015-Allow-fallback-to-include-entries-by-title-not-just-.patch
View file @
5f1f6629
...
...
@@ -12,7 +12,7 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
1 file changed, 58 insertions(+), 27 deletions(-)
diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c
index 8397886fa0..d7a222e681 100644
index 8397886fa0
5
..d7a222e681
b
100644
--- a/grub-core/normal/menu.c
+++ b/grub-core/normal/menu.c
@@ -163,15 +163,40 @@
grub_menu_set_timeout (int timeout)
...
...
SOURCES/0016-Make-exit-take-a-return-code.patch
View file @
5f1f6629
...
...
@@ -27,7 +27,7 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
14 files changed, 48 insertions(+), 21 deletions(-)
diff --git a/grub-core/commands/minicmd.c b/grub-core/commands/minicmd.c
index fa498931ed..2bd3ac76f2 100644
index fa498931ed
2
..2bd3ac76f2
d
100644
--- a/grub-core/commands/minicmd.c
+++ b/grub-core/commands/minicmd.c
@@ -182,12 +182,24 @@
grub_mini_cmd_lsmod (struct grub_command *cmd __attribute__ ((unused)),
...
...
@@ -60,7 +60,7 @@ index fa498931ed..2bd3ac76f2 100644
}
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
index 8cff7be028..05d8237a9b 100644
index 8cff7be028
9
..05d8237a9b
2
100644
--- a/grub-core/kern/efi/efi.c
+++ b/grub-core/kern/efi/efi.c
@@ -165,11 +165,16 @@
grub_reboot (void)
...
...
@@ -83,7 +83,7 @@ index 8cff7be028..05d8237a9b 100644
}
diff --git a/grub-core/kern/emu/main.c b/grub-core/kern/emu/main.c
index 425bb96034..55ea5a11cc 100644
index 425bb96034
7
..55ea5a11cc
d
100644
--- a/grub-core/kern/emu/main.c
+++ b/grub-core/kern/emu/main.c
@@ -67,7 +67,7 @@
grub_reboot (void)
...
...
@@ -96,7 +96,7 @@ index 425bb96034..55ea5a11cc 100644
grub_reboot ();
}
diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
index dfd8a8ec48..0ff13bcaf8 100644
index dfd8a8ec48
8
..0ff13bcaf8
c
100644
--- a/grub-core/kern/emu/misc.c
+++ b/grub-core/kern/emu/misc.c
@@ -151,9 +151,10 @@
xasprintf (const char *fmt, ...)
...
...
@@ -113,7 +113,7 @@ index dfd8a8ec48..0ff13bcaf8 100644
#endif
diff --git a/grub-core/kern/i386/coreboot/init.c b/grub-core/kern/i386/coreboot/init.c
index 3314f027fe..36f9134b7b 100644
index 3314f027fe
c
..36f9134b7b
7
100644
--- a/grub-core/kern/i386/coreboot/init.c
+++ b/grub-core/kern/i386/coreboot/init.c
@@ -41,7 +41,7 @@
extern grub_uint8_t _end[];
...
...
@@ -126,7 +126,7 @@ index 3314f027fe..36f9134b7b 100644
/* We can't use grub_fatal() in this function. This would create an infinite
loop, since grub_fatal() calls grub_abort() which in turn calls grub_exit(). */
diff --git a/grub-core/kern/i386/qemu/init.c b/grub-core/kern/i386/qemu/init.c
index 271b6fbfab..9fafe98f01 100644
index 271b6fbfab
d
..9fafe98f01
5
100644
--- a/grub-core/kern/i386/qemu/init.c
+++ b/grub-core/kern/i386/qemu/init.c
@@ -42,7 +42,7 @@
extern grub_uint8_t _end[];
...
...
@@ -139,7 +139,7 @@ index 271b6fbfab..9fafe98f01 100644
/* We can't use grub_fatal() in this function. This would create an infinite
loop, since grub_fatal() calls grub_abort() which in turn calls grub_exit(). */
diff --git a/grub-core/kern/ieee1275/init.c b/grub-core/kern/ieee1275/init.c
index d483e35eed..e71d158416 100644
index d483e35eed
2
..e71d158416
4
100644
--- a/grub-core/kern/ieee1275/init.c
+++ b/grub-core/kern/ieee1275/init.c
@@ -71,7 +71,7 @@
grub_addr_t grub_ieee1275_original_stack;
...
...
@@ -152,7 +152,7 @@ index d483e35eed..e71d158416 100644
grub_ieee1275_exit ();
}
diff --git a/grub-core/kern/mips/arc/init.c b/grub-core/kern/mips/arc/init.c
index 2ed3ff3191..5c40c34078 100644
index 2ed3ff3191
e
..5c40c34078
d
100644
--- a/grub-core/kern/mips/arc/init.c
+++ b/grub-core/kern/mips/arc/init.c
@@ -276,7 +276,7 @@
grub_halt (void)
...
...
@@ -165,7 +165,7 @@ index 2ed3ff3191..5c40c34078 100644
GRUB_ARC_FIRMWARE_VECTOR->exit ();
diff --git a/grub-core/kern/mips/loongson/init.c b/grub-core/kern/mips/loongson/init.c
index 7b96531b98..dff598ca7b 100644
index 7b96531b98
3
..dff598ca7b
0
100644
--- a/grub-core/kern/mips/loongson/init.c
+++ b/grub-core/kern/mips/loongson/init.c
@@ -304,7 +304,7 @@
grub_halt (void)
...
...
@@ -178,7 +178,7 @@ index 7b96531b98..dff598ca7b 100644
grub_halt ();
}