From 302e805fb121cd16ce982d760c1a61965046c4aa Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 31 May 2017 16:17:07 +0200 Subject: [PATCH] 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 --- icinga2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icinga2.spec b/icinga2.spec index f19dcd893..2e215fca2 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -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} -- 2.40.0