mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-25 03:42:14 +00:00
35b7e5a91f
genimage copied the kernel to the image directory before it built the initial ramdisks. When dracut failed for either ramdisk, a new kernel stayed next to the old ramdisks, and nodeset copied that set. The legacy ramdisk ignored a failed cpio pipeline and published what the compressor wrote. genimage now builds the kernel and both ramdisks in a staging directory in the image directory. It publishes them together with publish_staged_boot_files after both ramdisks are built, and writes the root image check and UFTP markers after that. A failure leaves the previous kernel and ramdisks in place.