Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | addhandler gnome_bbappend_distrocheck |
| 2 | gnome_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" |
| 3 | python 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 \ |
| 8 | may not take effect. See the meta-gnome README for details on enabling \ |
| 9 | meta-gnome support.") |
| 10 | } |