mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
11 lines
580 B
Plaintext
11 lines
580 B
Plaintext
addhandler security_bbappend_distrocheck
|
|
security_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck"
|
|
python security_bbappend_distrocheck() {
|
|
skip_check = e.data.getVar('SKIP_META_SECUIRTY_SANITY_CHECK') == "1"
|
|
if 'security' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
|
|
bb.warn("You have included the meta-security layer, but \
|
|
'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
|
|
and preferred version setting may not take effect. See the meta-security README \
|
|
for details on enabling security support.")
|
|
}
|