mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 13:25:22 +02:00
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>
This commit is contained in:
parent
960aff31ba
commit
f23b699283
5
conf/distro/include/virt_security_flags.inc
Normal file
5
conf/distro/include/virt_security_flags.inc
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Build errors with the pie options enabled
|
||||||
|
SECURITY_CFLAGS_pn-libvirt = "${SECURITY_NO_PIE_CFLAGS}"
|
||||||
|
|
||||||
|
# This has text relco errors with the pie options enabled
|
||||||
|
SECURITY_CFLAGS_pn-lxc = "${SECURITY_NO_PIE_CFLAGS}"
|
|
@ -16,3 +16,6 @@ LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
|
||||||
LAYERVERSION_virtualization-layer = "1"
|
LAYERVERSION_virtualization-layer = "1"
|
||||||
|
|
||||||
LAYERDEPENDS_virtualization-layer = "core networking-layer"
|
LAYERDEPENDS_virtualization-layer = "core networking-layer"
|
||||||
|
|
||||||
|
# Override security flags
|
||||||
|
require conf/distro/include/virt_security_flags.inc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user