Lets split `_write_cpio_disk` into two functions, `_write_cpio_common` which is the bulk of the code minus the few lines of kernel moving at the end, and a new `_write_cpio_disk` that calls _common and does have the kernel copy. That way this function isn't mucking with GENERATED_FILES and you will copy vmlinuz directly from "${VM_TMP_ROOT}/usr/boot/vmlinuz"