MCPcopy Create free account
hub / github.com/bootc-dev/bootc / check_kernel

Function check_kernel

crates/lib/src/lints.rs:494–498  ·  view source on GitHub ↗
(root: &Dir, _config: &LintExecutionConfig)

Source from the content-addressed store, hash-verified

492 check_kernel,
493);
494fn check_kernel(root: &Dir, _config: &LintExecutionConfig) -> LintResult {
495 let result = ostree_ext::bootabletree::find_kernel_dir_fs(&root)?;
496 tracing::debug!("Found kernel: {:?}", result);
497 lint_ok()
498}
499
500// This one can be lifted in the future, see https://github.com/bootc-dev/bootc/issues/975
501#[distributed_slice(LINTS)]

Callers 1

test_kernel_lintFunction · 0.85

Calls 2

find_kernel_dir_fsFunction · 0.85
lint_okFunction · 0.85

Tested by 1

test_kernel_lintFunction · 0.68