Unnamed repository
Resolves: https://issues.redhat.com/browse/RHEL-125841 Upstream: kexec-tools commit 7acd32d0fa6e9aecb7aa2099ca13bb147c04b020 (HEAD -> main) Author: Pingfan Liu <piliu@redhat.com> Date: Thu Dec 4 19:00:55 2025 +0800 UKI: Fix the size of real payload According to the PE file specification, each section's SizeOfRawData must be a multiple of FileAlignment (usually 512). So when ukify builds a UKI image, it pads the kernel image, initrd, etc. with zeros aligned to 512 bytes. The actual payload size is recorded in VirtualSize. Since the checksum includes the trailing zeros, this causes issues when loading a signed x86 bzImage, which is stored in the UKI's .linux section. Credit goes to Philipp, who analysed and pointed out this issue to me. Signed-off-by: Pingfan Liu <piliu@redhat.com> Signed-off-by: Pingfan Liu <piliu@redhat.com> |
||
|---|---|---|
| spec | ||
| tests | ||
| .editorconfig | ||
| .gitignore | ||
| .packit.yaml | ||
| .shellspec | ||
| gating.yaml | ||
| kexec-tools-2.0.32-UKI-Fix-the-size-of-real-payload.patch | ||
| kexec-tools.spec | ||
| README | ||
| README.packit | ||
| sources | ||
Adding a patch to kexec-tools ============================= There is a mailing list kexec@lists.fedoraproject.org where all the dicussion related to fedora kexec-tools happen. All the patches are posted there for inclusion and committed to kexec-tools after review. So if you want your patches to be included in fedora kexec-tools package, post these to kexec@lists.fedoraproject.org. One can subscribe to list and browse through archives here. https://admin.fedoraproject.org/mailman/listinfo/kexec