796a10711d
OBS-URL: https://build.opensuse.org/request/show/609945 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=184
18 lines
674 B
Diff
18 lines
674 B
Diff
Index: grub-2.02/grub-core/loader/emu/linux.c
|
|
===================================================================
|
|
--- grub-2.02.orig/grub-core/loader/emu/linux.c
|
|
+++ grub-2.02/grub-core/loader/emu/linux.c
|
|
@@ -76,9 +76,10 @@ grub_linux_boot (void)
|
|
grub_fatal (N_("Error trying to perform 'systemctl kexec'"));
|
|
|
|
/* need to check read-only root before resetting hard!? */
|
|
- grub_printf("Performing 'kexec -e'");
|
|
+ grub_printf("Performing 'kexec -e -x'");
|
|
kexec[1] = "-e";
|
|
- kexec[2] = NULL;
|
|
+ kexec[2] = "-x";
|
|
+ kexec[3] = NULL;
|
|
rc = grub_util_exec(kexec);
|
|
if ( rc != GRUB_ERR_NONE )
|
|
grub_fatal (N_("Error trying to directly perform 'kexec -e'."));
|