Please see the corresponding change in bitbake for the rationale:
https://lists.openembedded.org/g/bitbake-devel/message/18223
This change also means the identical later check in sanity will never fail, and so
that can be removed.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
if sys.hexversion < 0x030900F0:
status.addresult('The system requires at least Python 3.9 to run. Please update your Python interpreter.\n')
- # Check the bitbake version meets minimum requirements
- minversion = d.getVar('BB_MIN_VERSION')
- if bb.utils.vercmp_string_op(bb.__version__, minversion, "<"):
- status.addresult('Bitbake version %s is required and version %s was found\n' % (minversion, bb.__version__))
-
sanity_check_locale(d)
paths = d.getVar('PATH').split(":")
+BB_MIN_VERSION = "2.15.2"
+bitbake_min_version ${BB_MIN_VERSION}
+
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
# See sanity.bbclass
#
# Expert users can confirm their sanity with "touch conf/sanity.conf"
-BB_MIN_VERSION = "2.15.2"
-
SANITY_ABIFILE = "${TMPDIR}/abi_version"
SANITY_VERSION ?= "1"