mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
rpm: drop udev/95-ceph-osd-alt.rules
This udev rules file was needed on older RHEL platforms, which are unsupported as of jewel. Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
bed92b6a86
commit
ee4acb3159
@ -16,7 +16,6 @@ EXTRA_DIST += \
|
||||
etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds \
|
||||
udev/50-rbd.rules \
|
||||
udev/95-ceph-osd.rules \
|
||||
udev/95-ceph-osd-alt.rules \
|
||||
share/known_hosts_drop.ceph.com \
|
||||
share/id_dsa_drop.ceph.com \
|
||||
share/id_dsa_drop.ceph.com.pub
|
||||
|
11
ceph.spec.in
11
ceph.spec.in
@ -706,18 +706,9 @@ install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds %{buildro
|
||||
|
||||
# udev rules
|
||||
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
|
||||
|
||||
%if (0%{?rhel} && 0%{?rhel} < 7)
|
||||
install -m 0644 -D udev/95-ceph-osd-alt.rules %{buildroot}/lib/udev/rules.d/95-ceph-osd.rules
|
||||
%else
|
||||
install -m 0644 -D udev/95-ceph-osd.rules %{buildroot}/lib/udev/rules.d/95-ceph-osd.rules
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} >= 7 || 0%{?fedora} || 0%{?suse_version}
|
||||
mv %{buildroot}/lib/udev/rules.d/95-ceph-osd.rules %{buildroot}/usr/lib/udev/rules.d/95-ceph-osd.rules
|
||||
install -m 0644 -D udev/95-ceph-osd.rules %{buildroot}%{_udevrulesdir}/95-ceph-osd.rules
|
||||
mv %{buildroot}/sbin/mount.ceph %{buildroot}/usr/sbin/mount.ceph
|
||||
mv %{buildroot}/sbin/mount.fuse.ceph %{buildroot}/usr/sbin/mount.fuse.ceph
|
||||
%endif
|
||||
|
||||
#set up placeholder directories
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ceph
|
||||
|
@ -1,5 +0,0 @@
|
||||
# Check gpt partion for ceph tags and activate
|
||||
ACTION=="add", SUBSYSTEM=="block", \
|
||||
ENV{DEVTYPE}=="partition", \
|
||||
ENV{ID_PART_TABLE_TYPE}=="gpt", \
|
||||
RUN+="/usr/sbin/ceph-disk-udev $number $name $parent"
|
Loading…
Reference in New Issue
Block a user