fix postun error
(cherry picked from commit 9cd68dcfed630df4ed64f5afd017bb9c9995b14c)
This commit is contained in:
parent
e80e977fca
commit
87f9ce079c
@ -293,9 +293,9 @@ if [ "xvfat" != "x$res" -a "xfat" != "x$res" ]; then \
|
||||
fi \
|
||||
\
|
||||
%postun %{1} \
|
||||
if [ "x0" == "x$1" ];then \
|
||||
if [ "x0" == "x$1" ]; then \
|
||||
res=$(grub2-probe /boot) \
|
||||
if[ "xvfat" != "x$res" -a "xfat" != "x$res" ];then \
|
||||
if [ "xvfat" != "x$res" -a "xfat" != "x$res" ]; then \
|
||||
rm -f /boot/grub2/grubenv \
|
||||
fi \
|
||||
fi \
|
||||
|
||||
13
grub2.spec
13
grub2.spec
@ -7,7 +7,7 @@
|
||||
Name: grub2
|
||||
Epoch: 1
|
||||
Version: 2.04
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: Bootloader with support for Linux, Multiboot and more
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/grub/
|
||||
@ -448,7 +448,16 @@ rm -r /boot/grub2.tmp/ || :
|
||||
%{_datadir}/man/man*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 17 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-12
|
||||
* Sun Mar 21 2021 orange-snn <songnannan2@huawei.com> - 2.04-13
|
||||
- fix postun error in grub2-efi-x64
|
||||
|
||||
* Thu Mar 18 2021 yanglu <yanglu60@huawei.com> - 2.04-12
|
||||
- Type:cves
|
||||
- ID:CVE-2020-27779 CVE-2020-14372
|
||||
- SUG:NA
|
||||
- DESC:fix CVE-2020-27779 CVE-2020-14372
|
||||
|
||||
* Wed Mar 17 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-11
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user