Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 1 | addhandler virt_bbappend_distrocheck |
| 2 | virt_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" |
| 3 | python 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 \ |
| 8 | may not take effect. See the meta-virtualization README for details on enabling \ |
| 9 | virtualization support.") |
| 10 | } |