]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(nfs,virtiofs): check kernel for builtin fs drivers
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Mon, 15 Aug 2022 20:10:30 +0000 (20:10 +0000)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 18 Aug 2022 06:25:20 +0000 (06:25 +0000)
commit78cafe465d972ed52cc9d847c9895716a5f44e7e
tree89331de717bd91de6da93adbada127e244e919c7
parent4f20ae2620a9067270fe3e5f191ada6bff7b0ec1
fix(nfs,virtiofs): check kernel for builtin fs drivers

Check first for fs support in `/proc/filesystems` before attempting
to load the kernel module.

This is needed in the --no-kernel use case to avoid the error:
modprobe: FATAL: Module overlay not found in directory /lib/modules/<kver>
modules.d/95nfs/nfs-start-rpc.sh
modules.d/95virtiofs/mount-virtiofs.sh
modules.d/99base/dracut-lib.sh