Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dracut-functions.sh): check_kernel_module should follow dracutsys…
…rootdir check_kernel_module calls modprobe and tries to dry-run a module load to check if a module is available. modprobe supports `-d` to specify a rootdir, so just pass dracutsysrootdir to it to make it work as expected when building initramfs for another rootfs. Signed-off-by: Kairui Song <kasong@tencent.com>
- Loading branch information