pub(crate) async fn prepare_boot_artifact(
rootfs: &Utf8Path,
kernel_dir: Option<&Utf8Path>,
extra_kargs: &[String],
allow_missing_fsverity: bool,
erofs_version: Option<BootArtifactErofsVersionArg>,
write_dumpfile_to: Option<&Utf8Path>,
) -> Result<BootArtifactInputs>