Skip to main content

split_kernel

Function split_kernel 

Source
pub(crate) fn split_kernel(root: &Dir, output: &Dir) -> Result<String>
Expand description

Move the kernel out of root into output/<kver>/.

The kernel is written as vmlinuz and the initramfs as initramfs.img, along with any KERNEL_COMPANION_FILES present, under the same names. UKIs are not supported. Returns the kernel version.