Revert "* Tue Jun 22 2021 Zdenek Pytela <zpytela@redhat.com> - 34.12-2"
This reverts commit 8417543050
which added explicit /dev/dma_heap relabeling temporarily to the specfile.
This commit is contained in:
parent
c53bdced40
commit
95a4bac6d3
@ -285,10 +285,6 @@ if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = %1 -a -f ${FILE_CONTEXT}.p
|
|||||||
%{_sbindir}/fixfiles -C ${FILE_CONTEXT}.pre restore &> /dev/null > /dev/null; \
|
%{_sbindir}/fixfiles -C ${FILE_CONTEXT}.pre restore &> /dev/null > /dev/null; \
|
||||||
rm -f ${FILE_CONTEXT}.pre; \
|
rm -f ${FILE_CONTEXT}.pre; \
|
||||||
fi; \
|
fi; \
|
||||||
# the type of the /dev/dma_heap directory has changed, therefore explicit relabeling \
|
|
||||||
# is needed as fixfiles excludes /dev \
|
|
||||||
# this is a temporary workaround till July 2021 \
|
|
||||||
[ -f /dev/dma_heap ] && %{_sbindir}/restorecon -R /dev/dma_heap \
|
|
||||||
if %{_sbindir}/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \
|
if %{_sbindir}/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \
|
||||||
continue; \
|
continue; \
|
||||||
fi;
|
fi;
|
||||||
|
Loading…
Reference in New Issue
Block a user