mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
ceph.spec: install the new systemd-based udev rules from ddiss
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
3d6100eb64
commit
8a67561220
@ -575,8 +575,12 @@ install -m 0644 -D udev/60-ceph-partuuid-workaround.rules $RPM_BUILD_ROOT%{_udev
|
||||
%if (0%{?rhel} && 0%{?rhel} < 7)
|
||||
install -m 0644 -D udev/95-ceph-osd-alt.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules
|
||||
%else
|
||||
%if 0%{?_with_systemd}
|
||||
install -m 0644 -D udev/95-ceph-osd.rules.systemd $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules
|
||||
%else
|
||||
install -m 0644 -D udev/95-ceph-osd.rules $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} >= 7 || 0%{?fedora} || 0%{?suse_version}
|
||||
mv $RPM_BUILD_ROOT/lib/udev/rules.d/95-ceph-osd.rules $RPM_BUILD_ROOT/usr/lib/udev/rules.d/95-ceph-osd.rules
|
||||
|
Loading…
Reference in New Issue
Block a user