diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-08-24 16:12:58 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-08-25 16:05:47 +0300 |
commit | ada9e0f89e9ae7d9d70716ffa1306243a2afa5ca (patch) | |
tree | 09ce1fa9d20ae0aab5afa9b75ebc9dd68b01647f /meta-hpe/meta-gxp/conf | |
parent | eca537c5875f39fdb982b807ddc444ec6735ef90 (diff) | |
download | openbmc-ada9e0f89e9ae7d9d70716ffa1306243a2afa5ca.tar.xz |
meta-phosphor: enable DISTRO_FEATURE 'security'
The meta-security layer requires the DISTRO_FEATURE 'security' set
otherwise it gives a warning:
WARNING: 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.
This DISTRO_FEATURE doesn't really seem to do anything except enable
an additional include file in the linux-yocto recipe (which itself
then checks other features). It seems entirely safe for us to enable
this feature everywhere to avoid the warning.
$ git grep -A4 "DISTRO_FEATURES" | grep "'security'"
meta-security/README:to have 'security' in DISTRO_FEATURES to have effect.
meta-security/README: 'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files
meta-security/classes/sanity-meta-security.bbclass: if 'security' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
meta-security/classes/sanity-meta-security.bbclass:'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
meta-security/recipes-kernel/linux/linux-yocto_5.%.bbappend:require ${@bb.utils.contains('DISTRO_FEATURES', 'security', '${BPN}_security.inc', '', d)}
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ife1549783b356f87f429466f260f34b9a41d002c
Diffstat (limited to 'meta-hpe/meta-gxp/conf')
0 files changed, 0 insertions, 0 deletions