@@ -845,11 +845,6 @@ def check_sanity_everybuild(status, d):
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(":")
@@ -1,3 +1,6 @@
+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
@@ -3,8 +3,6 @@
# 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"