diff --git a/grub2.spec b/grub2.spec index 1fea982..bcb3637 100644 --- a/grub2.spec +++ b/grub2.spec @@ -7,7 +7,7 @@ Name: grub2 Epoch: 1 Version: 2.02 -Release: 80%{?dist} +Release: 81%{?dist} Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -279,7 +279,7 @@ fi %posttrans tools if [ -f /etc/default/grub ]; then - ! grep -q '^GRUB_ENABLE_BLSCFG=false' /etc/default/grub && \ + ! grep -q '^GRUB_ENABLE_BLSCFG=.*' /etc/default/grub && \ /sbin/grub2-switch-to-blscfg --backup-suffix=.rpmsave &>/dev/null || : fi @@ -476,6 +476,9 @@ rm -r /boot/grub2.tmp/ || : %endif %changelog +* Mon May 20 2019 Javier Martinez Canillas - 2.02-81 +- Don't try to switch to a BLS config if GRUB_ENABLE_BLSCFG is already set + * Wed May 15 2019 Javier Martinez Canillas - 2.02-80 - Fix error messages wrongly being printed when executing blscfg command Resolves: rhbz#1699761