meta/conf/bitbake.conf defines OLDEST_KERNEL (currently 2.6.32), however running bitbake on a system with this kernel version will not generate an error until gcc-cross-initial-sdk do_install step. It would be much more user-friendly to check and fail in sanity.bb A pull request will be forthcoming. Thanks. Jeff
I mean sanity.bbclass, not sanity.bb. I've fixed the description but am unable to edit my comment.
There seems to be some confusion with this bug. OLDEST_KERNEL affects the oldest kernel either the target binaries or the SDK will run on. Neither should be affected by the kernel of the *build* system which is the kind of tests sanity.bbclass would perform. Could you describe the problem you're trying to solve in more detail please.
No response to the question so assuming there was some confusion and the issue wasn't correctly described. If a better description is forthcoming, please reopen.
The problem is that we can build a builtools tarball on a system with an older kernel, but are unable to use it on that system. There should at least be a warning from the build system that the generated SDK is not usable on the build system. The only indication is somewhat obscure message (FATAL: kernel too old) when you attempt to use the SDK. Additional there could be a check in the SDK installer that provides a more descriptive message. Thanks. Jeff
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=508509d150e375ed5701190ec4bb1259709b576c