mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-22 08:51:30 +03: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 <behlendorf1@llnl.gov> Signed-off-by: Jo Zzsi <jozzsicsataban@gmail.com> Closes #17762
This commit is contained in:
parent
ea37c30fcb
commit
b2196fbedf
@ -17,6 +17,7 @@ depends() {
|
|||||||
|
|
||||||
installkernel() {
|
installkernel() {
|
||||||
hostonly='' instmods -c zfs
|
hostonly='' instmods -c zfs
|
||||||
|
instmods mpt3sas virtio_blk
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user