Andrew Geissler | a1a6aef | 2021-06-25 14:23:58 -0500 | [diff] [blame^] | 1 | addhandler integrity_bbappend_distrocheck |
| 2 | integrity_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" |
| 3 | python 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 \ |
| 8 | and preferred version setting may not take effect. See the meta-integrity README \ |
| 9 | for details on enabling integrity support.") |
| 10 | } |