Skip to content

Commit

Permalink
Make /etc/modprobe.d/mlx4.conf common
Browse files Browse the repository at this point in the history
Move it out of the redhat directory and into providers/mlx4, this follows
the existing pattern of truescale.conf.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
  • Loading branch information
jgunthorpe committed Jul 27, 2017
1 parent 5c6372e commit c46fa45
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions debian/rdma-core.install
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
etc/modprobe.d/mlx4.conf
etc/modprobe.d/truescale.conf
lib/systemd/system/rdma-ndd.service
lib/udev/rules.d/60-rdma-ndd.rules
Expand Down
2 changes: 2 additions & 0 deletions providers/mlx4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ rdma_shared_provider(mlx4 libmlx4.map
publish_headers(infiniband
mlx4dv.h
)

install(FILES "mlx4.conf" DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/modprobe.d/")
File renamed without changes.
1 change: 0 additions & 1 deletion redhat/rdma-core.spec
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ install -D -m0755 redhat/rdma.ifup-ib %{buildroot}/%{_sysconfdir}/sysconfig/netw
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.udev-ipoib-naming.rules %{buildroot}%{_sysconfdir}/udev/rules.d/70-persistent-ipoib.rules
install -D -m0644 redhat/rdma.mlx4.user.modprobe %{buildroot}%{_sysconfdir}/modprobe.d/mlx4.conf
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.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
Expand Down

0 comments on commit c46fa45

Please sign in to comment.