Skip to main content

extract_kernel

Function extract_kernel 

Source
pub fn extract_kernel(rvf_path: &Path) -> Result<ExtractedKernel, LaunchError>
Expand description

Extract kernel and initramfs from an RVF file to temporary files.

The returned ExtractedKernel owns a TempDir; the files are cleaned up when it is dropped.