summaryrefslogtreecommitdiffstats
path: root/classes/sanity-meta-virt.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-03-10 13:37:14 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-03-10 13:41:16 +0000
commitebe61f2aee8afe4caaa0e2327b8a02c0ded4e330 (patch)
tree8f7ad6b30f7107c858028fe377e8a552005ddb20 /classes/sanity-meta-virt.bbclass
parenta1e1a021b49f5257d8908aa9b8c2ee9c083e674c (diff)
downloadmeta-virtualization-ebe61f2aee8afe4caaa0e2327b8a02c0ded4e330.tar.gz
sanity: default virtualization distro check to false
We've terrorized the users of meta-virt for long enough with the warning about the virtualization distro feature not being set. Modern OE has the features_check capability so recipes and functionality that need the distro feature to be set can just check it themselves. No need to warn over and over again. For now, it just default to off, but the check can be completely removed in the future (since it does cause some parse time overhead). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'classes/sanity-meta-virt.bbclass')
-rw-r--r--classes/sanity-meta-virt.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/sanity-meta-virt.bbclass b/classes/sanity-meta-virt.bbclass
index 718b6620..1f98522f 100644
--- a/classes/sanity-meta-virt.bbclass
+++ b/classes/sanity-meta-virt.bbclass
@@ -1,3 +1,5 @@
1SKIP_META_VIRT_SANITY_CHECK ?= "1"
2
1addhandler virt_bbappend_distrocheck 3addhandler virt_bbappend_distrocheck
2virt_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" 4virt_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
3python virt_bbappend_distrocheck() { 5python virt_bbappend_distrocheck() {