mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-26 07:07:18 +00:00
meta-security: add sanity check
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -1,6 +1,24 @@
|
||||
Meta-security
|
||||
=============
|
||||
|
||||
The bbappend files for some recipes (e.g. linux-yocto) in this layer need
|
||||
to have 'security' in DISTRO_FEATURES to have effect.
|
||||
To enable them, add in configuration file the following line.
|
||||
|
||||
DISTRO_FEATURES_append = " security"
|
||||
|
||||
If meta-security is included, but security is not enabled as a
|
||||
distro feature a warning is printed at parse time:
|
||||
|
||||
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.
|
||||
|
||||
If you know what you are doing, this warning can be disabled by setting the following
|
||||
variable in your configuration:
|
||||
|
||||
SKIP_META_SECURITY_SANITY_CHECK = 1
|
||||
|
||||
This layer provides security tools, hardening tools for Linux kernels
|
||||
and libraries for implementing security mechanisms.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user