- the static loading of the modules is bad, and shouldn't be necessary, as it should be possible to figure out at runtime which transports are actually needed by iscsid
- the current implementation doesn't work in the initramfs at all since the file it creates is only read by systemd
- upstream's code has support for loading these modules on-demand, *IF* we link against libkmod.
Proposed solution:
- Build-depend on libkmod-dev
- Drop the file for loading modules statically
- Add ib_iser to the list of modules for the initramfs hook, so that iscsi rootfs will work correctly over infiniband as well
After discussing with Ryan on IRC:
- the static loading of the modules is bad, and shouldn't be necessary, as it should be possible to figure out at runtime which transports are actually needed by iscsid
- the current implementation doesn't work in the initramfs at all since the file it creates is only read by systemd
- upstream's code has support for loading these modules on-demand, *IF* we link against libkmod.
Proposed solution:
- Build-depend on libkmod-dev
- Drop the file for loading modules statically
- Add ib_iser to the list of modules for the initramfs hook, so that iscsi rootfs will work correctly over infiniband as well