- %apparmor_reload: skip and regenerate cache to make sure the latest

profile gets always used (even if the existing cache is newer)
- Initial creation of macro, only contains %apparmor_reload

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor-rpm-macros?expand=0&rev=5
This commit is contained in:
Christian Boltz 2017-08-26 19:14:47 +00:00 committed by Git OBS Bridge
parent 816d3fd520
commit c398ebccdb
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 26 19:08:14 UTC 2017 - suse-beta@cboltz.de
- %apparmor_reload: skip and regenerate cache to make sure the latest
profile gets always used (even if the existing cache is newer)
-------------------------------------------------------------------
Wed Jan 11 11:01:29 UTC 2017 - jengelh@inai.de
@ -6,5 +12,4 @@ Wed Jan 11 11:01:29 UTC 2017 - jengelh@inai.de
-------------------------------------------------------------------
Wed Jul 13 22:38:35 UTC 2016 - ushamim@linux.com
- Initial creation of macro, only contains %apparmor_reload
- Initial creation of macro, only contains %apparmor_reload

View File

@ -1,5 +1,5 @@
%apparmor_reload()\
if [ "$YAST_IS_RUNNING" != "instsys" ]; then\
/sbin/apparmor_parser -r %{?*} &> /dev/null || :\
/sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
fi\
%{nil}