9b87c1a6f8
* 0007-grub-mkimage-Create-new-ELF-note-for-SBAT.patch * 0008-grub-mkimage-Add-SBAT-metadata-into-ELF-note-for-Pow.patch - Replaced patches * 0007-mkimage-create-new-ELF-Note-for-SBAT.patch * 0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch - Fix missing requires in SLE package (bsc#1234264) (bsc#1234272) OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=526
16 lines
452 B
Diff
16 lines
452 B
Diff
--- a/grub-core/normal/main.c
|
|
+++ b/grub-core/normal/main.c
|
|
@@ -283,10 +283,11 @@
|
|
int boot;
|
|
boot = 0;
|
|
char *script;
|
|
+ char *dummy[1] = { NULL };
|
|
script = grub_malloc (1024);
|
|
if (! grub_ieee1275_cas_reboot (script))
|
|
{
|
|
- if (! grub_script_execute_sourcecode (script))
|
|
+ if (! grub_script_execute_new_scope (script, 0, dummy))
|
|
boot = 1;
|
|
}
|
|
grub_free (script);
|