pub(crate) fn build_ukify(
rootfs: &Utf8Path,
extra_kargs: &[String],
args: &[OsString],
) -> Result<()>Expand description
Build a UKI from the given rootfs.
This function:
- Verifies that ukify is available
- Finds the kernel in the rootfs
- Computes the composefs digest
- Reads kernel arguments from kargs.d
- Appends any additional kargs provided via –karg
- Invokes ukify with computed arguments plus any pass-through args