Bug 12910

Summary: Distro upgrade no longer forces sanity.bbclass to rerun tests
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: 5.99   
Target Milestone: 2.6 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know

Description Paul Eggleton 2018-09-02 21:06:21 UTC
With the advent of uninative (and it being enabled by default in poky), NATIVELSBSTRING isn't really the right variable to be triggering a rerun of the sanity.bbclass tests on since it's always the same when uninative is active. We need to be using a different variable that actually represents the host distro.
Comment 1 Ross Burton 2018-09-26 12:10:03 UTC
The sanity code already looks at lsb_distro_identifier() instead of ${NATIVELSBSTRING}, so I'm not sure if this is a valid bug.
Comment 2 Ross Burton 2018-09-26 13:09:20 UTC
Closing as the code appears to do this already.  Paul, please re-open if there's a detail I didn't consider.