spec: Drop the old sysv initscript files
We aren't building for the old SysV initscripts package any more, so drop the ifup-ib/ifdown-ib scripts that only work when the initscripts package is installed. This keeps us in line with changes going into the rdma-core-17 package release. Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
c97992e600
commit
978c40db8f
@ -25,7 +25,7 @@ BuildRequires: systemd
|
|||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
|
|
||||||
Requires: dracut, kmod, systemd, initscripts
|
Requires: dracut, kmod, systemd
|
||||||
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
|
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
|
||||||
# package called 'rdma', which we're supplanting here.
|
# package called 'rdma', which we're supplanting here.
|
||||||
Provides: rdma = %{version}-%{release}
|
Provides: rdma = %{version}-%{release}
|
||||||
@ -277,7 +277,6 @@ mkdir -p %{buildroot}/%{_sysconfdir}/rdma
|
|||||||
# Red Hat specific glue
|
# Red Hat specific glue
|
||||||
%global dracutlibdir %{_prefix}/lib/dracut
|
%global dracutlibdir %{_prefix}/lib/dracut
|
||||||
%global sysmodprobedir %{_prefix}/lib/modprobe.d
|
%global sysmodprobedir %{_prefix}/lib/modprobe.d
|
||||||
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
|
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
|
||||||
mkdir -p %{buildroot}%{_libexecdir}
|
mkdir -p %{buildroot}%{_libexecdir}
|
||||||
mkdir -p %{buildroot}%{_udevrulesdir}
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
||||||
@ -286,8 +285,6 @@ mkdir -p %{buildroot}%{sysmodprobedir}
|
|||||||
install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf
|
install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf
|
||||||
install -D -m0644 redhat/rdma.sriov-vfs %{buildroot}/%{_sysconfdir}/rdma/sriov-vfs
|
install -D -m0644 redhat/rdma.sriov-vfs %{buildroot}/%{_sysconfdir}/rdma/sriov-vfs
|
||||||
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
|
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
|
||||||
install -D -m0755 redhat/rdma.ifup-ib %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts/ifup-ib
|
|
||||||
install -D -m0755 redhat/rdma.ifdown-ib %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ib
|
|
||||||
install -D -m0644 redhat/rdma.service %{buildroot}%{_unitdir}/rdma.service
|
install -D -m0644 redhat/rdma.service %{buildroot}%{_unitdir}/rdma.service
|
||||||
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
|
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
|
||||||
install -D -m0644 redhat/rdma.udev-rules %{buildroot}%{_udevrulesdir}/98-rdma.rules
|
install -D -m0644 redhat/rdma.udev-rules %{buildroot}%{_udevrulesdir}/98-rdma.rules
|
||||||
@ -355,7 +352,6 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
|||||||
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
|
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
|
||||||
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
|
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
|
||||||
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
|
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
|
||||||
%{_sysconfdir}/sysconfig/network-scripts/*
|
|
||||||
%{_unitdir}/rdma-hw.target
|
%{_unitdir}/rdma-hw.target
|
||||||
%{_unitdir}/rdma-load-modules@.service
|
%{_unitdir}/rdma-load-modules@.service
|
||||||
%{_unitdir}/rdma.service
|
%{_unitdir}/rdma.service
|
||||||
|
Loading…
Reference in New Issue
Block a user