diff options
author | Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> | 2015-04-17 16:41:02 +0300 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-04-21 21:08:06 -0400 |
commit | f23b69928351afa165ad7c25b8cc88c2a661a09e (patch) | |
tree | 5481043edf81e0319bb9153e09c7587b83ffc8e7 | |
parent | 960aff31ba2b02972b93f0a0ec45a2fba2987f48 (diff) | |
download | meta-virtualization-f23b69928351afa165ad7c25b8cc88c2a661a09e.tar.gz |
conf: override SECURITY_CFLAGS for a set of recipes
Some of recipes produce errors if the distro has enabled usage of
security_flags.inc file. Fix those errors (and QA warnings) by providing
an additional include file that is require'd from conf/layer.conf.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | conf/distro/include/virt_security_flags.inc | 5 | ||||
-rw-r--r-- | conf/layer.conf | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/conf/distro/include/virt_security_flags.inc b/conf/distro/include/virt_security_flags.inc new file mode 100644 index 00000000..f4c288b8 --- /dev/null +++ b/conf/distro/include/virt_security_flags.inc | |||
@@ -0,0 +1,5 @@ | |||
1 | # Build errors with the pie options enabled | ||
2 | SECURITY_CFLAGS_pn-libvirt = "${SECURITY_NO_PIE_CFLAGS}" | ||
3 | |||
4 | # This has text relco errors with the pie options enabled | ||
5 | SECURITY_CFLAGS_pn-lxc = "${SECURITY_NO_PIE_CFLAGS}" | ||
diff --git a/conf/layer.conf b/conf/layer.conf index 7ae9d093..f5c1b1ec 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -16,3 +16,6 @@ LICENSE_PATH += "${LAYERDIR}/files/custom-licenses" | |||
16 | LAYERVERSION_virtualization-layer = "1" | 16 | LAYERVERSION_virtualization-layer = "1" |
17 | 17 | ||
18 | LAYERDEPENDS_virtualization-layer = "core networking-layer" | 18 | LAYERDEPENDS_virtualization-layer = "core networking-layer" |
19 | |||
20 | # Override security flags | ||
21 | require conf/distro/include/virt_security_flags.inc | ||