forked from pool/tboot
- Also cover cleanup of bootloader configuration after package removal.
(bnc#1078262) OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=73
This commit is contained in:
parent
968ae7728c
commit
e922ce366c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 12:26:10 UTC 2018 - matthias.gerstner@suse.com
|
||||
|
||||
- Also cover cleanup of bootloader configuration after package removal.
|
||||
(bnc#1078262)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 12 13:27:20 UTC 2018 - matthias.gerstner@suse.com
|
||||
|
||||
|
10
tboot.spec
10
tboot.spec
@ -104,6 +104,16 @@ make debug=y install DISTDIR="%{buildroot}" MANPATH="%{buildroot}/%{_mandir}"
|
||||
/sbin/update-bootloader --reinit || true
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if 0%{?update_bootloader_check_type_reinit_post:1}
|
||||
# there is no clean solution for refresh during package removal at the moment.
|
||||
# %posttrans is not executed during package removal.
|
||||
%update_bootloader_check_type_reinit_post grub2 grub2-efi
|
||||
%update_bootloader_posttrans
|
||||
%else
|
||||
/sbin/update-bootloader --reinit || true
|
||||
%endif
|
||||
|
||||
%posttrans
|
||||
%{?update_bootloader_posttrans}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user