mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
oeqa/sstatetests: Add NATIVELSB sstate signature equivalence test
The sstate checksums should be independent of whichever NATIVELSBSTRING is detected. Add an automated QA test which tests this using bitbake -S. To make this possible, we need to be able to override the value of NATIVELSBSTRING so make a small change to allow this. (From OE-Core rev: 2da156d491caf25dfa3efd567d6dbb451dd7e9dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -210,7 +210,8 @@ addhandler base_eventhandler
|
||||
base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted bb.event.RecipePreFinalise"
|
||||
python base_eventhandler() {
|
||||
if isinstance(e, bb.event.ConfigParsed):
|
||||
e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data))
|
||||
if not e.data.getVar("NATIVELSBSTRING", False):
|
||||
e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data))
|
||||
e.data.setVar('BB_VERSION', bb.__version__)
|
||||
pkgarch_mapping(e.data)
|
||||
oe.utils.features_backfill("DISTRO_FEATURES", e.data)
|
||||
|
||||
Reference in New Issue
Block a user