Skip to content

Commit

Permalink
redhat/spec: Don't include ifup/ifdown-ib
Browse files Browse the repository at this point in the history
When the original Red Hat spec file was created, many things that we
used to do in the old rdma package were brought over.  One of the things
brought over were the ifup-ib and ifdown-ib network scripts.  However,
those scripts are meaningless without the SysV-initscripts package which
includes all of the sysv network startup infrastructure.  The new
rdma-core was intended to be a systemd only service, and so we skipped
the Requirements: initscripts that we should have had in order to
support these scripts.  So, remove the scripts as they are old baggage.

Fixes: dac219f ("redhat/spec: build split rpm packages")
Signed-off-by: Doug Ledford <[email protected]>
  • Loading branch information
dledford committed Feb 4, 2018
1 parent 66a625a commit 7ebed9d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions redhat/rdma-core.spec
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ mkdir -p %{buildroot}/%{_sysconfdir}/rdma
# Red Hat specific glue
%global dracutlibdir %{_prefix}/lib/dracut
%global sysmodprobedir %{_prefix}/lib/modprobe.d
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
mkdir -p %{buildroot}%{_libexecdir}
mkdir -p %{buildroot}%{_udevrulesdir}
Expand All @@ -245,8 +244,6 @@ mkdir -p %{buildroot}%{sysmodprobedir}
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.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 -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
Expand Down Expand Up @@ -317,7 +314,6 @@ rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
%{_sysconfdir}/sysconfig/network-scripts/*
%{_unitdir}/rdma-hw.target
%{_unitdir}/[email protected]
%{_unitdir}/rdma.service
Expand Down

0 comments on commit 7ebed9d

Please sign in to comment.