]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(btrfs): do not require module via cmdline when --no-kernel
authorMichal Koutný <mkoutny@suse.com>
Mon, 19 Jun 2023 14:40:49 +0000 (16:40 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Tue, 20 Jun 2023 14:52:02 +0000 (07:52 -0700)
commit7ed765dd23e4c5616c82d1cbf8b4dbceaafc7647
tree69d5fb8d192b959a8ffd143d0ee77ab4471770bf
parent2b47a2efe91ab8be480925c04388200a3666812c
fix(btrfs): do not require module via cmdline when --no-kernel

initrd built without modules would fail when it attempts to load a
kernel module. (Use case scenario: kernel with built-in module.)

synthesize an the cmdline only when modules are truly installed.
modules.d/90btrfs/module-setup.sh