poky/meta/classes
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
..
allarch.bbclass allarch: only enable allarch when multilib is not used 2018-09-13 07:42:28 +01:00
archiver.bbclass archiver: Fix typos 2021-04-18 11:37:24 +01:00
autotools-brokensep.bbclass
autotools.bbclass autotools: no need to depend on gnu-config 2021-02-07 22:26:42 +00:00
baremetal-image.bbclass baremetal-image: Fix post process command rootfs_update_timestamp 2021-05-21 15:18:23 +01:00
base.bbclass base: respect downloadfilename when sniffing the SRC_URI for dependencies 2021-03-20 18:54:55 +00:00
bash-completion.bbclass
bin_package.bbclass bin_package: fail if ${S} doesn't actually contain anything 2017-12-02 11:25:32 +00:00
binconfig-disabled.bbclass
binconfig.bbclass binconfig: don't try to fix up .la files 2019-06-19 12:46:44 +01:00
blacklist.bbclass classes/recipes: Convert SkipPackage -> SkipRecipe 2018-01-26 13:09:09 +00:00
buildhistory.bbclass classes/buildhistory: Add option to strip path prefix 2021-06-03 23:09:41 +01:00
buildstats-summary.bbclass
buildstats.bbclass buildstats.bbclass: collect data in the same file. 2021-04-27 23:43:57 +01:00
ccache.bbclass ccache.bbclass: Use ccache-native and disable ccache for native recipes 2021-01-20 00:45:05 +00:00
ccmake.bbclass ccmake.bbclass: Fix up un-escaped quotes in output formatting 2019-04-12 09:29:06 +01:00
chrpath.bbclass chrpath: Cleanup and fix previous patch 2019-12-29 09:27:16 +00:00
cmake.bbclass cmake.bbclass: remove ${B} before cmake_do_configure 2021-04-24 17:53:05 +01:00
cml1.bbclass Revert "cml1.bbclass: Return sorted list of cfg files" 2021-05-18 23:52:54 +01:00
compress_doc.bbclass classes/compress_doc: add missing import subprocess 2019-01-16 15:35:07 +00:00
copyleft_compliance.bbclass
copyleft_filter.bbclass
core-image.bbclass core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base 2021-03-06 22:39:04 +00:00
cpan_build.bbclass meta/classes: adjust perl-related classes to the new recipes 2019-01-11 10:39:09 +00:00
cpan-base.bbclass cpan-base: set default UPSTREAM_CHECK_REGEX 2021-04-18 11:37:25 +01:00
cpan.bbclass meta/classes: adjust perl-related classes to the new recipes 2019-01-11 10:39:09 +00:00
cross-canadian.bbclass cross-canadian: Whitelist "mingw32" as TARGET_OS 2021-04-18 11:37:25 +01:00
cross.bbclass native/cross/nativesdk: Drop obsolete do_populate_sysroot[stamp-extra-info] 2020-01-27 16:48:10 +00:00
crosssdk.bbclass crosssdk: Set nativesdk specific distro features 2020-02-14 13:07:23 +00:00
cve-check.bbclass cve-check: add include/exclude layers 2021-02-09 08:56:10 +00:00
debian.bbclass meta: Fix Deprecated warnings from regexs 2019-01-16 15:35:07 +00:00
deploy.bbclass deploy.bbclass: Clean DEPLOYDIR before do_deploy 2020-06-30 23:03:02 +01:00
devicetree.bbclass recipes: Update common-licenses references to match new names 2021-02-21 22:01:28 +00:00
devshell.bbclass devshell.bbclass: Exceptions displayed within devpyshell 2021-03-20 18:54:56 +00:00
devtool-source.bbclass devtool: fix modify with patches in override directories 2020-10-08 08:08:32 +01:00
devupstream.bbclass
distro_features_check.bbclass distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename 2019-11-21 23:08:19 +00:00
distrooverrides.bbclass
distutils-common-base.bbclass distutils-common-base: fix LINKSHARED expansion 2020-11-24 10:27:45 +00:00
distutils3-base.bbclass distutils3-base: Fix after native packaging changes 2021-02-17 11:01:17 +00:00
distutils3.bbclass distutils3: allow setup.py to be run from a different directory to ${S} 2020-12-15 22:51:55 +00:00
dos2unix.bbclass dos2unix.bbclass: Move to oe-core 2018-08-20 17:38:22 +01:00
externalsrc.bbclass externalsrc: Detect code changes in submodules 2021-04-18 11:37:25 +01:00
extrausers.bbclass add new extrausers command passwd-expire 2020-11-11 10:08:12 +00:00
features_check.bbclass features_check: Warn if not used 2020-06-12 08:25:05 +01:00
fontcache.bbclass multilib/recipes: Use new RecipePostKeyExpansion event 2020-05-27 10:47:05 +01:00
fs-uuid.bbclass
gconf.bbclass meta: Fix Deprecated warnings from regexs 2019-01-16 15:35:07 +00:00
gettext.bbclass cross-canadian/gettext: Drop unneeded nativesdk-gettext dependency 2018-01-14 09:11:58 +00:00
gi-docgen.bbclass gi-docgen: add a recipe and class 2021-05-09 23:30:14 +01:00
gio-module-cache.bbclass gio-module-cache.bbclass: pass in ${libexecdir} 2018-04-05 14:49:07 +01:00
glide.bbclass glide.bbclass: Add class to easy Glide use 2018-03-25 09:40:42 +01:00
gnomebase.bbclass gnomebase: trim the SRC_URI directory from the back 2021-05-25 22:36:08 +01:00
go-mod.bbclass go-mod.bbclass: use append to add modcacherw 2020-09-28 14:15:48 +01:00
go-ptest.bbclass go.bbclass: separate the ptest logic to go-ptest class 2019-07-09 23:30:44 +01:00
go.bbclass go: Enable CGO and pie buildmode on rv64 2021-02-26 15:21:20 +00:00
goarch.bbclass goarch: Use softfloat instead of 387 for 386 goarch 2021-02-26 15:21:20 +00:00
gobject-introspection-data.bbclass
gobject-introspection.bbclass gobject-introspection: auto-enable/-disable gobject-introspection for meson 2019-04-11 21:15:56 +01:00
grub-efi-cfg.bbclass grub-efi-cfg: exclude OVERRIDES from build_efi_cfg vardeps 2020-12-15 22:51:56 +00:00
grub-efi.bbclass live-vm-common.bbclass: provide efi population functions for live images 2019-09-19 10:54:32 +01:00
gsettings.bbclass gsettings: allow the schemas to be in any package 2019-01-11 10:39:09 +00:00
gtk-doc.bbclass gtk-doc: Disable dependencies in native case 2021-01-29 21:21:53 +00:00
gtk-icon-cache.bbclass gtk-icon-cache.bbclass: add features_check 2020-07-28 12:41:10 +01:00
gtk-immodules-cache.bbclass gtk-immodules-cache.bbclass: fix post install scriptlet error 2020-07-22 12:45:56 +01:00
icecc.bbclass icecc: Demote "could not get ICECC_CC" warning to note 2021-05-28 06:41:02 +01:00
image_types_wic.bbclass image_types_wic: Move wic working directory 2021-01-20 22:46:18 +00:00
image_types.bbclass image_types: add zsync conversions 2021-06-11 23:50:58 +01:00
image-artifact-names.bbclass image-artifact-names: make variables overridable 2020-09-20 12:48:11 +01:00
image-buildinfo.bbclass image-buildinfo: Remove unused function argument 2018-12-08 17:17:01 +00:00
image-combined-dbg.bbclass image: add image-combined-dbg helper class 2018-04-07 11:44:50 +01:00
image-container.bbclass
image-live.bbclass image-live.bbclass: order do_bootimg after do_rootfs 2021-05-27 13:21:38 +01:00
image-postinst-intercepts.bbclass image-postinst-intercepts.bbclass: add class 2018-08-16 09:49:39 +01:00
image-prelink.bbclass image-prelink: remove assumption of sysconfdir presence 2020-03-11 11:44:29 +00:00
image.bbclass image.bbclass: fix comment "pacackages" -> "packages" 2021-05-13 18:09:38 +01:00
insane.bbclass insane: clean up some more warning messages 2021-04-18 11:37:26 +01:00
kernel-arch.bbclass kernel-arch.bbclass: add m68k to kernel arch map 2018-10-08 14:13:54 +01:00
kernel-artifact-names.bbclass image-artifact-names: introduce new bbclass and move some variables into it 2020-09-17 09:47:45 +01:00
kernel-devicetree.bbclass kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags 2021-01-12 17:44:17 +00:00
kernel-fitimage.bbclass uboot-sign/kernel-fitimage: split generate_rsa_keys task 2021-05-25 10:05:19 +01:00
kernel-grub.bbclass
kernel-module-split.bbclass kernel-module-split.bbclass: fix kernel modules getting marked as CONFFILES 2020-12-09 12:20:33 +00:00
kernel-uboot.bbclass kernel-uboot: allow compression option to be configurable 2020-11-24 10:27:45 +00:00
kernel-uimage.bbclass u-boot: Add mkenvimage tool 2018-11-23 23:35:19 +00:00
kernel-yocto.bbclass kernel-yocto: provide debug / summary information for metadata 2021-05-18 23:52:53 +01:00
kernel.bbclass kernel.bbclass: fix do_sizecheck() comparison 2021-06-14 15:05:11 +01:00
kernelsrc.bbclass kernelsrc.bbclass: Fix externalsrc support 2020-03-10 23:20:33 +00:00
lib_package.bbclass
libc-package.bbclass classes, conf, lib: Add support for powerpc64le 2020-01-19 23:49:39 +00:00
license_image.bbclass license_image.bbclass: Fix symlink to generic license files 2021-04-27 15:11:47 +01:00
license.bbclass license.bbclass: Improve parsing time when INCOMPATIBLE_LICENSES is big 2021-03-14 16:33:59 +00:00
linux-dummy.bbclass linux-dummy: add empty dependent packages 2021-03-20 18:54:56 +00:00
linux-kernel-base.bbclass classes: Remove tab indentations in python code 2018-11-23 23:35:19 +00:00
linuxloader.bbclass linuxloader: Deal with little-endian ppc64 ldso name 2021-02-23 22:35:00 +00:00
live-vm-common.bbclass live-vm-common.bbclass: provide efi population functions for live images 2019-09-19 10:54:32 +01:00
logging.bbclass logging.bbclass: Enclose the tr string in quotes 2018-02-24 10:31:48 +00:00
manpages.bbclass manpages.bbclass: Fix rootfs host corruption 2020-01-27 16:48:08 +00:00
mcextend.bbclass mcextend: Add helper class useful for multiconfig 2019-03-03 15:38:13 +00:00
meson-routines.bbclass meson.bbclass: split python routines into a separate class 2021-05-14 07:57:27 +01:00
meson.bbclass meson.bbclass: split python routines into a separate class 2021-05-14 07:57:27 +01:00
meta.bbclass
metadata_scm.bbclass metadata_scm.bbclass: Use immediate expansion for the METADATA_* variables 2021-03-14 16:33:59 +00:00
migrate_localcount.bbclass
mime-xdg.bbclass mime-xdg.bbclass: Fix typo in comment 2020-03-01 17:50:30 +00:00
mime.bbclass mime.bbclass: fix post install scriptlet error 2020-06-23 12:31:03 +01:00
mirrors.bbclass recipes: Update git.gnome.org addresses after upstream changes 2018-09-04 11:03:56 +01:00
module-base.bbclass make-mod-scripts: change how some kernel module tools are built 2018-02-24 10:31:44 +00:00
module.bbclass module.bbclass: Add INSTALL_FW_PATH for out-of-tree modules 2018-11-16 11:46:07 +00:00
multilib_global.bbclass multilib_global: handle REQUIRED_VERSION 2021-03-15 14:49:09 +00:00
multilib_header.bbclass
multilib_script.bbclass multilib_script: fix whitespace 2019-07-03 17:00:57 +01:00
multilib.bbclass multilib/recipes: Use new RecipePostKeyExpansion event 2020-05-27 10:47:05 +01:00
native.bbclass native.bbclass: Do not remove "-native" in the middle of recipe names 2021-06-01 14:03:49 +01:00
nativesdk.bbclass nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS 2020-07-12 12:21:48 +01:00
nopackages.bbclass package_tar.bbclass: Sync to the other package_* classes 2020-08-26 21:56:41 +01:00
npm.bbclass npm.bbclass: Allow nodedir to be overridden by NPM_NODEDIR 2021-05-14 07:57:28 +01:00
oelint.bbclass
own-mirrors.bbclass own-mirrors.bbclass: allow other settings of PREMIRRORS have effect 2017-10-16 23:52:44 +01:00
package_deb.bbclass classes: Drop now unneeded umask flags 2021-02-16 11:28:17 +00:00
package_ipk.bbclass classes: Drop now unneeded umask flags 2021-02-16 11:28:17 +00:00
package_pkgdata.bbclass package: Build pkgdata specific to the current recipe 2019-06-30 22:40:52 +01:00
package_rpm.bbclass package_rpm: pass XZ_THREADS to rpm 2021-05-27 13:21:38 +01:00
package_tar.bbclass package_tar.bbclass: Sync to the other package_* classes 2020-08-26 21:56:41 +01:00
package.bbclass classes/lib/scripts: Use bb.utils.rename() instead of os.rename() 2021-05-06 11:16:23 +01:00
packagedata.bbclass
packagegroup.bbclass packagegroup: fix a comment regarding PACKAGE_ARCH 2019-10-02 20:22:25 +01:00
patch.bbclass classes: Drop now unneeded umask flags 2021-02-16 11:28:17 +00:00
perl-version.bbclass meta/classes: adjust perl-related classes to the new recipes 2019-01-11 10:39:09 +00:00
perlnative.bbclass
pixbufcache.bbclass base/pixbufcache: Remove obsolete sstatecompletions code 2019-04-05 17:32:50 +01:00
pkgconfig.bbclass
populate_sdk_base.bbclass image,populate_sdk_base: move 'func' flag setting for sdk command vars 2021-03-31 08:51:02 +01:00
populate_sdk_ext.bbclass classes/lib/scripts: Use bb.utils.rename() instead of os.rename() 2021-05-06 11:16:23 +01:00
populate_sdk.bbclass
prexport.bbclass
primport.bbclass
ptest-gnome.bbclass
ptest-perl.bbclass meta/classes: add ptest-perl.bbclass 2018-03-06 06:19:18 -08:00
ptest.bbclass ptest: add a test for orphaned ptests, and restore ones found by it 2021-05-11 11:54:25 +01:00
pypi.bbclass pypi.bbclass: use new pypi UPSTREAM_CHECK_URI 2020-05-12 15:20:42 +01:00
python3-dir.bbclass python: update 3.8.5 -> 3.9.0 2020-10-30 13:22:49 +00:00
python3native.bbclass python3: split python target configuration into own class 2020-11-16 14:27:46 +00:00
python3targetconfig.bbclass python3targetconfig.bbclass: Make py3 dep and tasks only for target recipes 2020-11-24 10:27:44 +00:00
qemu.bbclass qemu: Enable ppc64le support for qemu-usermode 2020-01-22 15:56:14 +00:00
qemuboot.bbclass qemu: Set SMP to 4 cpus for arm/x86 only 2021-05-13 18:09:10 +01:00
recipe_sanity.bbclass
relative_symlinks.bbclass
relocatable.bbclass relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist 2020-06-15 14:53:46 +01:00
remove-libtool.bbclass
report-error.bbclass report-error.bbclass: Add layer and bitbake version info to error report 2021-02-23 22:35:01 +00:00
reproducible_build_simple.bbclass Revert "rootfs: Make BUILDNAME a weak default in reproducible_build_simple" 2020-02-21 17:48:09 +00:00
reproducible_build.bbclass classes/reproducible_build: Use atomic rename for SDE file 2021-06-03 23:09:42 +01:00
rm_work_and_downloads.bbclass
rm_work.bbclass rm_work: Simplify logic for setscene promotion 2019-11-10 14:06:10 +00:00
rootfs_deb.bbclass rootfs_deb: handle aarch64 SDK_ARCH 2021-02-18 23:40:01 +00:00
rootfs_ipk.bbclass rootfs_ipk: allow do_populate_sdk in parallel to do_rootfs 2021-01-13 23:13:45 +00:00
rootfs_rpm.bbclass roofs_*.bbclass: fix missing vardeps for do_rootfs 2020-11-17 21:53:14 +00:00
rootfs-postcommands.bbclass rootfs-postcommands: correctly set systemd target for weston images 2021-03-06 22:39:04 +00:00
rootfsdebugfiles.bbclass rootfs-post: remove traling blanks from tasks 2020-07-27 10:37:57 +01:00
sanity.bbclass sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message 2021-05-06 08:41:26 +01:00
scons.bbclass meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks 2020-11-16 14:27:46 +00:00
setuptools3.bbclass distutils/setuptools, distutils3/setuptools3: improve reproducibility 2018-07-26 13:16:40 +01:00
sign_ipk.bbclass
sign_package_feed.bbclass gnupg: use native version for signing, rather than one provided by host 2018-01-11 10:26:07 +00:00
sign_rpm.bbclass sign_rpm.bbclass: ignore thread count 2020-06-17 11:10:28 +01:00
siteconfig.bbclass classes: Remove tab indentations in python code 2018-11-23 23:35:19 +00:00
siteinfo.bbclass siteinfo: Recognize bigendian sh3be and sh4be 2020-10-17 23:22:19 +01:00
sstate.bbclass sstate: Ignore sstate signing key 2021-05-21 15:18:23 +01:00
staging.bbclass classes: Drop now unneeded umask flags 2021-02-16 11:28:17 +00:00
syslinux.bbclass image_types: Remove remnants of hdddirect 2019-07-26 08:41:38 +01:00
systemd-boot-cfg.bbclass grub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH 2019-05-16 16:35:12 +01:00
systemd-boot.bbclass live-vm-common.bbclass: provide efi population functions for live images 2019-09-19 10:54:32 +01:00
systemd.bbclass systemd.bbclass: improve error message when a service unit specified in SYSTEMD_SERVICE is not found 2021-01-13 23:13:45 +00:00
terminal.bbclass terminal.bbclass: Generate do_terminal as bitbake would 2019-04-03 14:50:13 +01:00
testexport.bbclass testexport: rename create_tarball method 2020-09-21 23:54:39 +01:00
testimage.bbclass qemurunner: Add support for qmp commands 2021-04-27 15:11:47 +01:00
testsdk.bbclass classes/testsdk: Split implementation into classes 2018-11-21 11:54:14 +00:00
texinfo.bbclass texinfo: Only build texinfo when api-docs enabled 2020-02-03 00:10:11 +00:00
toaster.bbclass toaster.bbclass: Fix error when toaster is used to monitor a build 2020-02-02 16:57:21 +00:00
toolchain-scripts-base.bbclass
toolchain-scripts.bbclass toolchain-scripts.bbclass: customize prompt string for SDKs 2021-03-11 15:24:13 +00:00
typecheck.bbclass
uboot-config.bbclass recipes-bsp/u-boot: Allow deploying the u-boot DTB 2021-06-07 23:00:22 +01:00
uboot-extlinux-config.bbclass uboot-extlinux-config: exclude OVERRIDES from do_create_extlinux_config vardeps 2020-12-15 22:51:56 +00:00
uboot-sign.bbclass uboot-sign/kernel-fitimage: split generate_rsa_keys task 2021-05-25 10:05:19 +01:00
uninative.bbclass uninative: Fix typo in error message 2020-10-13 09:42:08 +01:00
update-alternatives.bbclass classes/lib/scripts: Use bb.utils.rename() instead of os.rename() 2021-05-06 11:16:23 +01:00
update-rc.d.bbclass update-rc.d: support enable/disable options 2019-06-21 15:32:36 +01:00
upstream-version-is-even.bbclass
useradd_base.bbclass add new extrausers command passwd-expire 2020-11-11 10:08:12 +00:00
useradd-staticids.bbclass useradd-staticids: print exception after parse_args() error 2019-05-07 10:12:53 +01:00
useradd.bbclass useradd: Ensure do_populate_sysroot has dependency on useradd variables 2019-06-01 11:27:06 +01:00
utility-tasks.bbclass utility-tasks: Drop fetchall and checkuriall tasks 2018-02-15 11:23:10 +00:00
utils.bbclass utils: Drop is_machine_specific()/machine_paths() 2020-05-05 13:19:55 +01:00
vala.bbclass vala.bbclass: add libdir to XDG_DATA_DIRS 2020-03-29 12:05:31 +01:00
waf.bbclass waf: add ${B} to do_configure[cleandirs] 2020-10-17 23:22:19 +01:00
xmlcatalog.bbclass xmlcatalog: hold libxml2-native dependency 2019-07-11 09:32:50 +01:00