/
githubmirror
/
dracut
Обзор
Документация
Войти
/
githubmirror
/
dracut
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
modules.d/95virtiofs/module-setup.sh
31 строка
539 B
Sergio E. Nemirowski
fix(virtiofs): add virtio_pci kernel module to virtiofs
05 июн 2023, 15:23
05 июн 2023, 15:23
07b49a3
Код
Авторство
О чём код?
#!/bin/bash # called by dracut check() { [[ $hostonly ]] || [[ $mount_needs ]] && { is_qemu_virtualized && return 0 for fs in "${host_fs_types[@]}"; do [[ $fs == "virtiofs" ]] && return 0 done return 255 } return 0 } # called by dracut depends() { echo base } # called by dracut installkernel() { instmods virtiofs virtio_pci } # called by dracut install() { inst_hook cmdline 95 "$moddir/parse-virtiofs.sh" inst_hook pre-mount 99 "$moddir/mount-virtiofs.sh" }