summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-10 14:07:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:55:38 +0100
commite9817d59d322b4a942341ecd3d0099f817537998 (patch)
tree8104e60b80e72fd01cf27619a029d2c98701546c /meta/classes/base.bbclass
parentee69463f4e2e4f6eac86385e36edda2fccbae7fd (diff)
downloadpoky-e9817d59d322b4a942341ecd3d0099f817537998.tar.gz
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>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 56fe5f2122..fe803f1836 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -210,7 +210,8 @@ addhandler base_eventhandler
210base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted bb.event.RecipePreFinalise" 210base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted bb.event.RecipePreFinalise"
211python base_eventhandler() { 211python base_eventhandler() {
212 if isinstance(e, bb.event.ConfigParsed): 212 if isinstance(e, bb.event.ConfigParsed):
213 e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data)) 213 if not e.data.getVar("NATIVELSBSTRING", False):
214 e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data))
214 e.data.setVar('BB_VERSION', bb.__version__) 215 e.data.setVar('BB_VERSION', bb.__version__)
215 pkgarch_mapping(e.data) 216 pkgarch_mapping(e.data)
216 oe.utils.features_backfill("DISTRO_FEATURES", e.data) 217 oe.utils.features_backfill("DISTRO_FEATURES", e.data)