resolve_distro_kernel

Function resolve_distro_kernel 

Source
pub fn resolve_distro_kernel(
    kind: DistroKind,
    release: Option<&str>,
) -> Result<ResolvedDistroKernel>
Expand description

Resolve a distro spec to concrete kernel package URLs + checksums for the host architecture.

release pins a specific stream (Some("44"), Some("24.04")); None resolves the distro’s latest. For Amazon Linux the release selects the AL2023 stream (always latest-dated) regardless of value.