Disable rpm verification for the extra_varrun module directory

The extra_varrun module is generated dynamically on packages updates,
based on the current state in the policy.

Related: RHEL-54303
This commit is contained in:
Zdenek Pytela 2024-05-20 15:57:23 +02:00 committed by Petr Lautrbach
parent bbd4056045
commit 579a5b4d7e

View File

@ -281,7 +281,9 @@ rm -f %{buildroot}%{_sharedstatedir}/selinux/%1/active/*.linked \
%ghost %{_sharedstatedir}/selinux/%1/active/users_extra.linked \ %ghost %{_sharedstatedir}/selinux/%1/active/users_extra.linked \
%verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/file_contexts.homedirs \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/file_contexts.homedirs \
%verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules_checksum \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules_checksum \
%ghost %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun \ %ghost %verify(not md5 size mtime) %%{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun \
%ghost %verify(not md5 size mtime) %%{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun/cil \
%ghost %verify(not md5 size mtime) %%{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun/lang_ext \
%nil %nil
%define relabel() \ %define relabel() \