@@ -8,8 +8,10 @@ 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:
@@ -20,8 +22,10 @@ distro feature a warning is printed at parse time:
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.
@@ -30,11 +34,9 @@ Dependencies
This layer depends on:
- URI: https://git.openembedded.org/openembedded-core
- branch: [same one as checked out for this layer]
+- URI: https://git.openembedded.org/openembedded-core - branch: [same one as checked out for this layer]
- URI: https://git.openembedded.org/meta-openembedded
- branch: [same one as checked out for this layer]
+- URI: https://git.openembedded.org/meta-openembedded - branch: [same one as checked out for this layer]
Adding the security layer to your build
========================================
@@ -47,24 +49,32 @@ yocto build tree, you can add it to the build system by adding the
location of the security layer to bblayers.conf, along with any
other layers needed. e.g.:
+```
BBLAYERS ?= " \
/path/to/oe-core/meta \
/path/to/meta-openembedded/meta-oe \
/path/to/layer/meta-security "
-
+```
+
Optional Dynamic layer dependancy
======================================
+Download layers using the following links:
+
URI: https://git.openembedded.org/meta-openembedded/meta-oe
URI: https://git.openembedded.org/meta-openembedded/meta-perl
URI: https://git.openembedded.org/meta-openembedded/meta-python
+Then add layers to your configuration:
+
+```
BBLAYERS += "/path/to/layer/meta-openembedded/meta-oe"
BBLAYERS += "/path/to/layer/meta-openembedded/meta-perl"
BBLAYERS += "/path/to/layer/meta-openembedded/meta-python"
-
+```
+
This will activate the dynamic-layer mechanism.
@@ -75,20 +85,25 @@ Maintenance
Send pull requests, patches, comments or questions to yocto-patches@lists.yoctoproject.org
When sending single patches, please using something like:
-'git send-email -1 --to yocto-patches@lists.yoctoproject.org --subject-prefix=meta-security][PATCH'
+```
+git send-email -1 --to yocto-patches@lists.yoctoproject.org --subject-prefix=meta-security][PATCH
+```
These values can be set as defaults for this repository:
+```
$ git config sendemail.to yocto-patches@lists.yoctoproject.org
$ git config format.subjectPrefix meta-security][PATCH
+```
Now you can just do 'git send-email origin/master' to send all local patches.
For pull requests, please use create-pull-request and send-pull-request.
Maintainers:
-Scott Murray <scott.murray@konsulko.com>
-Marta Rybczynska <rybczynska@gmail.com>
+
+- Scott Murray <scott.murray@konsulko.com>
+- Marta Rybczynska <rybczynska@gmail.com>
License
Update the README formatting to support markdown, so that it shows well in a web preview. Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com> --- README.md | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-)