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
17 lines
370 B
Diff
17 lines
370 B
Diff
--- a/util/grub-install.c
|
|
+++ b/util/grub-install.c
|
|
@@ -1501,6 +1501,13 @@
|
|
|
|
grub_util_unlink (load_cfg);
|
|
|
|
+ if (1)
|
|
+ {
|
|
+ load_cfg_f = grub_util_fopen (load_cfg, "wb");
|
|
+ have_load_cfg = 1;
|
|
+ fprintf (load_cfg_f, "tpm_record_pcrs 0-9\n");
|
|
+ }
|
|
+
|
|
if (debug_image && debug_image[0])
|
|
{
|
|
load_cfg_f = grub_util_fopen (load_cfg, "wb");
|