summaryrefslogtreecommitdiffstats
path: root/classes/sanity-meta-virt.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* sanity-meta-virt: Watch for SanityCheck eventPaul Barker2017-10-121-1/+1
| | | | | | | | | | The ConfigParsed event is raised multiple times during a build which resulted in the sanity warning appearing up to 4 times per build. Instead we should be watching for the SanityCheck event (this is what the sanity checks in oe-core watch for). Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* sanity-meta-virt: Make skip variable name layer specificPaul Barker2017-10-121-1/+1
| | | | | | | | | The variable used to skip the sanity check should be named in a layer specific way. This will ensure there is no confusion if other layers use a similar sanity check. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* sanity-meta-virt.bbclass: add class for bbappend files checkingChen Qi2017-10-021-0/+10
Add a new class, sanity-meta-virt.bbclass, to check for whether necessary settings are available for bbappend files in this layer to be effective, and warn users if not. In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable users to explicitly skip the checking to avoid unwanted warnings. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>