Skip to content

Commit

Permalink
rpm: refrain from installing systemd unit files twice
Browse files Browse the repository at this point in the history
These files are already installed by systemd/Makefile.am

Fixes: http://tracker.ceph.com/issues/15549

Signed-off-by: Nathan Cutler <[email protected]>
  • Loading branch information
smithfarm committed Apr 20, 2016
1 parent 2dd8942 commit 6d3cbaa
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -758,20 +758,6 @@ install -m 0644 -D etc/sysconfig/ceph $RPM_BUILD_ROOT%{_localstatedir}/adm/fillu
%endif
%if 0%{?_with_systemd}
install -m 0644 -D systemd/ceph.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/ceph-common.conf
install -m 0644 -D systemd/rbdmap.service $RPM_BUILD_ROOT%{_unitdir}/rbdmap.service
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0644 -D systemd/ceph.target $RPM_BUILD_ROOT%{_unitdir}/ceph.target
install -m 0644 -D systemd/ceph-osd.target $RPM_BUILD_ROOT%{_unitdir}/ceph-osd.target
install -m 0644 -D systemd/ceph-mon.target $RPM_BUILD_ROOT%{_unitdir}/ceph-mon.target
install -m 0644 -D systemd/ceph-mds.target $RPM_BUILD_ROOT%{_unitdir}/ceph-mds.target
install -m 0644 -D systemd/ceph-radosgw.target $RPM_BUILD_ROOT%{_unitdir}/ceph-radosgw.target
install -m 0644 -D systemd/ceph-rbd-mirror.target $RPM_BUILD_ROOT%{_unitdir}/ceph-rbd-mirror.target
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected]
install -m 0755 -D systemd/ceph $RPM_BUILD_ROOT%{_sbindir}/rcceph
%else
install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap
Expand Down

0 comments on commit 6d3cbaa

Please sign in to comment.