Message ID | 1500926429-31822-2-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index 817013bc4905f8..80a78265d02bfb 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -274,6 +274,7 @@ install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/ # Delete the package's init.d scripts rm -rf %{buildroot}/%{_initrddir}/ +rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh # libibverbs %post -n libibverbs -p /sbin/ldconfig
Build fails with: error: Installed (but unpackaged) file(s) found: /usr/sbin/srp_daemon.sh Installed (but unpackaged) file(s) found: /usr/sbin/srp_daemon.sh Since we do not install the init.d script for srp on RH, also delete the srp_daemon.sh, which is now only used by init.d. Fixes: 1c7fe513e3e9 ("srp_daemon: One systemd service per port") Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> --- redhat/rdma-core.spec | 1 + 1 file changed, 1 insertion(+)