File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ sub action {
2121 $reboot //= 1;
2222 record_info(' TEST' , $text );
2323 trup_call($target );
24+
25+ if ($target =~ / bootloader/ && get_var(' FLAVOR' ) =~ m / -encrypted/ i ) {
26+ record_soft_failure(" Workaround for bsc#1228126" );
27+ script_run(" fdectl tpm-authorize" );
28+ }
2429 if ($reboot && $target =~ / bootloader|grub\. cfg|initrd/ && (is_bootloader_sdboot || is_bootloader_grub2_bls)) {
2530 # With sdbootutil, the snapshot is not changed. Verify that and test rebooting.
2631 check_reboot_changes(0);
@@ -36,12 +41,7 @@ sub run {
3641
3742 select_serial_terminal;
3843
39- if (get_var(' FLAVOR' ) =~ m / -encrypted/ i ) {
40- record_soft_failure(" bsc#1228126: Encrypted image fails to boot after reinstalling bootloader" );
41- }
42- else {
43- action(' bootloader' , ' Reinstall bootloader' );
44- }
44+ action(' bootloader' , ' Reinstall bootloader' );
4545 action(' grub.cfg' , ' Regenerate grub.cfg' );
4646 action(' initrd' , ' Regenerate initrd' );
4747 if (is_bootloader_sdboot || is_bootloader_grub2_bls) {
You can’t perform that action at this time.
0 commit comments