blob: b4ed0825b2838b9dd557ea2aa244d43d17889cf3 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001addhandler virt_bbappend_distrocheck
2virt_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
3python virt_bbappend_distrocheck() {
4 skip_check = e.data.getVar('SKIP_META_VIRT_SANITY_CHECK') == "1"
5 if 'virtualization' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
6 bb.warn("You have included the meta-virtualization layer, but \
7'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
8may not take effect. See the meta-virtualization README for details on enabling \
9virtualization support.")
10}