Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2023-02-16 16:55:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub2 (Old) and /work/SRC/openSUSE:Factory/.grub2.new.22824 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2" Thu Feb 16 16:55:21 2023 rev:284 rq:1065947 version:2.06 Changes: -------- --- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2023-02-14 16:44:28.278104003 +0100 +++ /work/SRC/openSUSE:Factory/.grub2.new.22824/grub2.changes 2023-02-16 16:55:29.754614054 +0100 @@ -1,0 +2,6 @@ +Wed Feb 15 07:09:39 UTC 2023 - Gary Ching-Pang Lin <g...@suse.com> + +- Refresh 0003-tpm2-resend-the-command-on-TPM_RC_RETRY.patch to + handle the TPM2 responseCode correctly. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0003-tpm2-resend-the-command-on-TPM_RC_RETRY.patch ++++++ --- /var/tmp/diff_new_pack.prh0Jf/_old 2023-02-16 16:55:34.094631595 +0100 +++ /var/tmp/diff_new_pack.prh0Jf/_new 2023-02-16 16:55:34.098631611 +0100 @@ -1,4 +1,4 @@ -From 14a8c03f1a3b09250ea933f1a072dfdfef8c4a48 Mon Sep 17 00:00:00 2001 +From dcfb996d872a750fc42cb627627a5ac3f6d89a23 Mon Sep 17 00:00:00 2001 From: Gary Lin <g...@suse.com> Date: Thu, 9 Feb 2023 14:56:05 +0800 Subject: [PATCH 03/13] tpm2: resend the command on TPM_RC_RETRY @@ -13,7 +13,7 @@ 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/grub-core/tpm2/tpm2.c b/grub-core/tpm2/tpm2.c -index 5377ad2c7..1176d968b 100644 +index 5377ad2c7..083d59d02 100644 --- a/grub-core/tpm2/tpm2.c +++ b/grub-core/tpm2/tpm2.c @@ -25,11 +25,11 @@ @@ -51,7 +51,7 @@ + do { + err = grub_tpm2_submit_command_real (tag, commandCode, responseCode, + in, out); -+ if (err != TPM_RC_RETRY) ++ if (*responseCode != TPM_RC_RETRY) + break; + + retry_cnt++;