Function find_kernel_dir_fs

Source
pub fn find_kernel_dir_fs(root: &Dir) -> Result<Option<Utf8PathBuf>>
Expand description

Find the kernel modules directory in checked out directory tree. The target directory will have a vmlinuz file representing the kernel binary.