blob: 6ba7e3f26b9b31eabe13709406c3d96857f6df5e [file] [log] [blame]
Andrew Geisslera1a6aef2021-06-25 14:23:58 -05001addhandler integrity_bbappend_distrocheck
2integrity_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
3python integrity_bbappend_distrocheck() {
4 skip_check = e.data.getVar('SKIP_META_INTEGRITY_SANITY_CHECK') == "1"
5 if 'integrity' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
6 bb.warn("You have included the meta-integrity layer, but \
7'integrity' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
8and preferred version setting may not take effect. See the meta-integrity README \
9for details on enabling integrity support.")
10}