d108ec594a
- Introduces a new package, grub2-x86_64-efi-bls, which includes a straightforward grubbls.efi file. This file can be copied to the EFI System Partition (ESP) along with boot fragments in the Boot Loader Specification (BLS) format * 0001-Streamline-BLS-and-improve-PCR-stability.patch - Fix crash in bli module (bsc#1226497) * 0001-bli-Fix-crash-in-get_part_uuid.patch - Rework package dependencies: grub2-common now includes common userland utilities and is required by grub2 platform packages. grub2 is now a meta package that pulls in the default platform package. OBS-URL: https://build.opensuse.org/request/show/1196023 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=512
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);
|