pub fn extract_kernel_to(dest: &Path) -> Result<()>Expand description
Write the bundled kernel image to dest. Overwrites any
existing file. Caller is responsible for the parent dir
existing — use extract_kernel_to_with_parents if you’d
rather mkdir -p.
supermachine_kernel::extract_kernel_to(
std::path::Path::new("/tmp/supermachine/kernel"),
).unwrap();