From 51c58446bae4c7ac958a8653aa7721eef320c8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 15 Mar 2024 15:50:05 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 shim revision 2425476e169cbba2a05f50b0541b7410 --- shim-install | 8 +++++++- shim.changes | 9 +++++++++ shim.spec | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/shim-install b/shim-install index 57b1fe6..4dfaa18 100644 --- a/shim-install +++ b/shim-install @@ -390,8 +390,14 @@ prepare_cryptodisk () { fi fi + tpm_srk_alg="${GRUB_TPM2_SRK_ALG}" + + if [ -z "$tpm_srk_alg" ]; then + tpm_srk_alg="RSA" + fi + cat < + +- Update shim-install to set the SRK algorithm for the grub2 + TPM2 key protector (bsc#1213945) + 92d0f4305df73 Set the SRK algorithm for the TPM2 protector +- Add the missing BuildRequires: update-bootloader-rpm-macros + for the update_bootloader_* macros in %post and %posttrans + ------------------------------------------------------------------- Wed Sep 20 09:00:36 UTC 2023 - Gary Ching-Pang Lin diff --git a/shim.spec b/shim.spec index bfa1156..1884f08 100644 --- a/shim.spec +++ b/shim.spec @@ -43,6 +43,7 @@ Source5: shim-debugsource-15.7-150300.4.16.1.aarch64.rpm Source6: shim-install #BuildRequires: shim-susesigned BuildRequires: fde-tpm-helper-rpm-macros +BuildRequires: update-bootloader-rpm-macros Requires: perl-Bootloader BuildRoot: %{_tmppath}/%{name}-%{version}-build # For shim-install script