(root: &Dir, _config: &LintExecutionConfig)
| 492 | check_kernel, |
| 493 | ); |
| 494 | fn 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)] |