mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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
This commit is contained in:
1 parent
ea37c30fcb
commit
b2196fbedf
1 file changed
+1
@@ -17,6 +17,7 @@ depends() {
|
||||
|
||||
installkernel() {
|
||||
hostonly='' instmods -c zfs
|
||||
instmods mpt3sas virtio_blk
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
Reference in new issue
Block a user