images: include packagegroup-core-selinux if "selinux" is in DISTRO_FEATURES
This packagegroup includes all of the userspace packages needed to use SELinux. For now, use the same variant of the packagegroup, which contains all available packages. Since the meta-selinux layer isn't available in all platforms, implement this change via a dynamic layer. https://onedigi.atlassian.net/browse/DEL-7641 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
3bccb2a6dd
commit
a7b8288511
|
|
@ -8,6 +8,8 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||||
BBFILES_DYNAMIC += " \
|
BBFILES_DYNAMIC += " \
|
||||||
webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \
|
webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \
|
||||||
webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bbappend \
|
webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bbappend \
|
||||||
|
selinux:${LAYERDIR}/dynamic-layers/selinux/*/*/*.bb \
|
||||||
|
selinux:${LAYERDIR}/dynamic-layers/selinux/*/*/*.bbappend \
|
||||||
"
|
"
|
||||||
|
|
||||||
BBFILE_COLLECTIONS += "digi-dey"
|
BBFILE_COLLECTIONS += "digi-dey"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
include selinux_dey.inc
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
include selinux_dey.inc
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
include selinux_dey.inc
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
IMAGE_INSTALL_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'packagegroup-core-selinux', '', d)}"
|
||||||
Loading…
Reference in New Issue