blob: 331ea193d9e1451f50941ca7ae7c2836f6ea4080 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001addhandler gnome_bbappend_distrocheck
2gnome_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
3python gnome_bbappend_distrocheck() {
4 skip_check = e.data.getVar('SKIP_META_GNOME_SANITY_CHECK') == "1"
5 if 'x11' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
6 bb.warn("You have included the meta-gnome layer, but \
7'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
8may not take effect. See the meta-gnome README for details on enabling \
9meta-gnome support.")
10}