Fix a syntax error in the ostree BLS fix attempt

This commit is contained in:
Adam Williamson 2022-03-23 16:48:18 -07:00
parent 5d7c163550
commit f29388d27a
2 changed files with 5 additions and 2 deletions

View File

@ -420,7 +420,7 @@ index 9fcd77cacc3..81f35a2f3f0 100644
get_sorted_bls()
{
- if ! [ -d "${blsdir}" ]; then
+ if ! [ -d "${blsdir}" ] || [ -f /run/ostree-booted ] || [ -d /ostree/repo ]]; then
+ if ! [ -d "${blsdir}" ] || [ -f /run/ostree-booted ] || [ -d /ostree/repo ]; then
return
fi

View File

@ -17,7 +17,7 @@
Name: grub2
Epoch: 1
Version: 2.06
Release: 28%{?dist}
Release: 29%{?dist}
Summary: Bootloader with support for Linux, Multiboot and more
License: GPLv3+
URL: http://www.gnu.org/software/grub/
@ -526,6 +526,9 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
%endif
%changelog
* Wed Mar 23 2022 Adam Williamson <awilliam@redhat.com> - 2.06-29
- Fix a syntax error in the ostree BLS fix attempt
* Wed Mar 23 2022 Peter Robinson <pbrobinson@fedoraproject.org> 2.06-28
- Rebuild for secure-boot signing