RPM: Disable SELinux policy hardlink

This is a nice2have extension to keep the package size clean,
but unfortunately breaks builds with Docker and overlayfs
where hardlinks don't work.

Details: Icinga/puppet-icinga_build#11
This commit is contained in:
Michael Friedrich 2017-05-31 16:17:07 +02:00
parent d19abf8d7d
commit 302e805fb1
1 changed files with 2 additions and 1 deletions

View File

@ -397,7 +397,8 @@ do
done
cd -
/usr/sbin/hardlink -cv %{buildroot}%{_datadir}/selinux
# TODO: Fix build problems on Icinga, see https://github.com/Icinga/puppet-icinga_build/issues/11
#/usr/sbin/hardlink -cv %{buildroot}%{_datadir}/selinux
%endif
%if 0%{?fedora}