]> git.ipfire.org Git - thirdparty/dracut.git/commit
feat(dracut-init.sh): introduce a new helper require_kernel_modules
authorKairui Song <kasong@tencent.com>
Tue, 6 Dec 2022 09:24:47 +0000 (17:24 +0800)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Wed, 21 Dec 2022 16:07:46 +0000 (17:07 +0100)
commitd3a5e6312a84b29bcb10fd5d28e1314f1acbc78f
treec18da33c06b23b4756b2d0430168276c10c678b7
parent6c42d378abe528ee6f10c8272080eec5f3f44acb
feat(dracut-init.sh): introduce a new helper require_kernel_modules

Some dracut modules won't work without certain kernel modules,
this helper will be helpful for checking such kernel configs in
check() and error out early.

Signed-off-by: Kairui Song <kasong@tencent.com>
dracut-init.sh