Skip to content

Commit b2196fb

Browse files
authored
contrib: dracut: install dependent kernel modules
Eliminates the need for the following workaround > Add other drivers to dracut: ``` if grep mpt3sas /proc/modules; then echo 'force_drivers+=" mpt3sas "' >> /etc/dracut.conf.d/zfs.conf fi if grep virtio_blk /proc/modules; then echo 'filesystems+=" virtio_blk "' >> /etc/dracut.conf.d/fs.conf fi ``` Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Jo Zzsi <[email protected]> Closes #17762
1 parent ea37c30 commit b2196fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/dracut/90zfs/module-setup.sh.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ depends() {
1717

1818
installkernel() {
1919
hostonly='' instmods -c zfs
20+
instmods mpt3sas virtio_blk
2021
}
2122

2223
install() {

0 commit comments

Comments
 (0)