poky/meta
Andrea Adami b32f1ad879 kernel.bbclass: fix do_sizecheck() comparison
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).

(From OE-Core rev: 254ca956d63b4ce6aa294213b60bb943f9f3a9e6)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
..
classes kernel.bbclass: fix do_sizecheck() comparison 2021-06-14 15:05:11 +01:00
conf gcompat: Add recipe 2021-06-14 15:05:11 +01:00
files populate_sdk_ext: Add support for PR service 2021-03-31 00:06:23 +01:00
lib oeqa/core/target/qemu.py: display contents of dumped files 2021-06-12 08:38:29 +01:00
recipes-bsp recipes-bsp/opensbi: Add support for specifying a device tree 2021-06-07 23:00:22 +01:00
recipes-connectivity iproute2: upgrade 5.11.0 -> 5.12.0 2021-05-31 14:31:01 +01:00
recipes-core musl: Set UPSTREAM_CHECK_COMMITS 2021-06-14 15:05:11 +01:00
recipes-devtools gcc: Fixes for ARC 2021-06-12 22:54:14 +01:00
recipes-extended ethtool: upgrade 5.10 -> 5.12 2021-06-12 22:54:14 +01:00
recipes-gnome epiphany: upgrade 40.1 -> 40.2 2021-06-11 23:50:59 +01:00
recipes-graphics libjpeg-turbo: fix do_compile error on arm 2021-06-12 22:54:14 +01:00
recipes-kernel dtc: upgrade 1.6.0 -> 1.6.1 2021-06-12 22:54:14 +01:00
recipes-multimedia libogg: upgrade 1.3.4 -> 1.3.5 2021-06-12 22:54:14 +01:00
recipes-rt rt-tests: update SRCREV 2021-05-25 10:06:24 +01:00
recipes-sato images: remove sato/weston ptest images 2021-05-28 06:41:02 +01:00
recipes-support liburcu: upgrade 0.12.2 -> 0.13.0 2021-06-12 22:54:14 +01:00
site site/elfutils/libunistring: Drop patching for iconv and set in site file 2021-03-23 22:51:25 +00:00
COPYING.MIT
recipes.txt Remove LSB support 2019-08-29 14:05:12 +01:00