diff options
Diffstat (limited to 'meta-hardening/conf')
-rw-r--r-- | meta-hardening/conf/distro/harden.conf | 11 | ||||
-rw-r--r-- | meta-hardening/conf/layer.conf | 15 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-hardening/conf/distro/harden.conf b/meta-hardening/conf/distro/harden.conf new file mode 100644 index 0000000..1a5eb3d --- /dev/null +++ b/meta-hardening/conf/distro/harden.conf @@ -0,0 +1,11 @@ +DISTRO = "harden" +DISTRO_NAME = "Simple Security hardening example" +DISTRO_VERSION = "1.0" + +DISTRO_FEATURES = " acl xattr pci ext2 pam ipv4 ipv6 ipsec largefile usbhost" + +VIRTUAL-RUNTIME_base-utils-syslog ?= "rsyslog" +IMAGE_ROOTFS_EXTRA_SPACE = "524288" +EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" + +DISABLE_ROOT ?= "True" diff --git a/meta-hardening/conf/layer.conf b/meta-hardening/conf/layer.conf new file mode 100644 index 0000000..8da050b --- /dev/null +++ b/meta-hardening/conf/layer.conf @@ -0,0 +1,15 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "harden-layer" +BBFILE_PATTERN_harden-layer = "^${LAYERDIR}/" +BBFILE_PRIORITY_harden-layer = "6" + +LAYERSERIES_COMPAT_harden-layer = "nanbield scarthgap" + +LAYERDEPENDS_harden-layer = "core openembedded-layer" + +WARN_QA:append:harden-layer = " patch-status missing-metadata" |