path: root/scripts/buildstats-diff
diff options
authorAndrea Adami <>2021-06-13 00:14:03 +0200
committerRichard Purdie <>2021-06-14 15:05:08 +0100
commit254ca956d63b4ce6aa294213b60bb943f9f3a9e6 (patch)
treedb63f6f3f96f74a40bb410df8ca0aeda5dc4f498 /scripts/buildstats-diff
parentee80b59fba4828b88ccf4b8797a4d7816d31a60b (diff)
kernel.bbclass: fix do_sizecheck() comparisonHEADmaster
The routine do_sizecheck() was historically needed by legacy devices with limited flash memory. The lowest extreme is probably with Zaurus collie having exactly 1024*1024 = 1048576 bytes for the kernel partition. In the years the KERNEL_IMAGE_MAXSIZE has been converted to kilobytes thus rounded so we have now KERNEL_IMAGE_MAXSIZE_collie = "1024". The effect is that now the check fails because we hit curiously this | WARNING: This kernel zImage (size=1024(K) > 1024(K)) is too big for... even though zImage is 1047288 bytes (kernel + kexecboot-klibc-initramfs). Fix this case using test -gt (greater) instead of -ge (greater or equal). Signed-off-by: Andrea Adami <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/buildstats-diff')
0 files changed, 0 insertions, 0 deletions