Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
genimage: fix the order of the kernel files in making bootcheckum
Ostree bootchecksum is calculated from four files, they are standard kernel image, rt kernel image, vmlinuz and initramfs file. Different order makes different checksum value. WRCP's INSVC patch does not touch kernel images or initramfs file while it requires a fixed bootchecksum value. So fix the order as standard kernel, rt kernel, vmlinuz and initramfs. Here "kernels" is a list contains standard kernel and then rt kernel. Remove line "kernels = set(kernels)" to avoid the randomization of their order. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
- Loading branch information