[oe-commits] [meta-openembedded] 03/03: dbus-broker: build with SELinux if it's enabled via DISTRO_FEATURES
git at git.openembedded.org
git at git.openembedded.org
Fri Oct 25 21:34:51 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 8e672f6231ea267642282377e63889a690de1976
Author: Luca Boccassi <luca.boccassi at microsoft.com>
AuthorDate: Fri Oct 25 20:12:21 2019 +0100
dbus-broker: build with SELinux if it's enabled via DISTRO_FEATURES
Signed-off-by: Luca Boccassi <luca.boccassi at microsoft.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-core/dbus/dbus-broker_21.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_21.bb b/meta-oe/recipes-core/dbus/dbus-broker_21.bb
index fd77afc..c353fca 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_21.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_21.bb
@@ -15,6 +15,7 @@ SRC_URI_append += "file://0003-dbus-socket-treat-MSG_CTRUNC-gracefully.patch"
inherit meson pkgconfig systemd distro_features_check
DEPENDS = "expat systemd"
+DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
REQUIRED_DISTRO_FEATURES = "systemd"
@@ -23,3 +24,5 @@ SYSTEMD_SERVICE_${PN} = "${BPN}.service"
FILES_${PN} += "${systemd_system_unitdir}"
FILES_${PN} += "${systemd_user_unitdir}"
FILES_${PN} += "${libdir}/systemd/catalog"
+
+EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list