Skip to content

Commit

Permalink
install_update: Update grub2 on UEFI due to new signature
Browse files Browse the repository at this point in the history
shim update will fail with old grub2 because of old signature

UEFI signatures.

grub2-x86_64-efi-2.02-123.4.1 2021 UEFI Key (10y)
grub2-x86_64-efi-2.02-26.43.1 2021 UEFI Key (5y)
grub2-x86_64-efi-2.02-26.40.1 2020 UEFI Key

Every 2021 signature will work with the new shim.
Older signatures will fail.
  • Loading branch information
dzedro committed May 6, 2021
1 parent 352c185 commit 00dfb71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/qam-minimal/install_update.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ sub run {
my ($self) = @_;
select_console 'root-console';

# shim update will fail with old grub2 due to old signature
if (check_var('MACHINE', 'uefi')) {
zypper_call('up grub2 grub2-x86_64-efi kernel-default');
}

capture_state('before');

# Set and check patch variables
Expand Down

0 comments on commit 00dfb71

Please sign in to comment.