[oe-commits] [meta-openembedded] 04/20: dbus-broker: build with libaudit if selinux is enabled
git at git.openembedded.org
git at git.openembedded.org
Tue Oct 29 21:28:07 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 554631ccaecbee36e9daba626fea1ec53bb1ee3c
Author: Luca Boccassi <luca.boccassi at microsoft.com>
AuthorDate: Tue Oct 29 16:10:33 2019 +0000
dbus-broker: build with libaudit if selinux is enabled
There is no DISTRO_FEATURE for audit, so most packages enable it
if selinux is enabled.
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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_21.bb b/meta-oe/recipes-core/dbus/dbus-broker_21.bb
index d2d0510..d639abb 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_21.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_21.bb
@@ -18,6 +18,7 @@ inherit meson pkgconfig systemd distro_features_check
DEPENDS = "expat systemd"
DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
+DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}"
REQUIRED_DISTRO_FEATURES = "systemd"
@@ -28,3 +29,4 @@ FILES_${PN} += "${systemd_user_unitdir}"
FILES_${PN} += "${libdir}/systemd/catalog"
EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
+EXTRA_OEMESON += " -Daudit=${@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