On Mon, Aug 28, 2017 at 05:05:33PM +0200, Nicolas Morey-Chaisemartin wrote:
-sed 's%/usr/libexec%/usr/lib%g' redhat/rdma.modules-setup.sh > %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
-chmod 0755 %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
You probably still need something dracut related.
At a minimum you have to address the problem we saw in Debian: mlx5
and mlx4 need to have their rdma modules include in the initrd if
their core modules are included. (eg anything request_module'd from
the initrd must be present)
You may need to do more if you intend to support boot over ipoib, srp,
nfs-rdma, etc - I think the RH scripts aim to support.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html