Bug 12910 - Distro upgrade no longer forces sanity.bbclass to rerun tests
Summary: Distro upgrade no longer forces sanity.bbclass to rerun tests
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.6 M4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-09-02 21:06 UTC by Paul Eggleton
Modified: 2018-09-26 13:09 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.