summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-08-10 16:31:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-13 14:44:05 +0100
commit4e413911df6d981dc091734eba411fd89e16d7db (patch)
tree833f1be2adc0293c2664807218211948734026dd /meta/recipes-core/dbus
parentc5ae7decf387c3d1dcdefbc6feb3bc6ea09ffcde (diff)
downloadpoky-4e413911df6d981dc091734eba411fd89e16d7db.tar.gz
dbus: add PACKAGECONFIG for audit and selinux
Add PACKAGECONFIG for audit and selinux rather than disable them directly. This is useful for selinux distro feature. (From OE-Core rev: 139e9a0fe59413fc98f1fb6112765a7a40192a4f) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dbus')
-rw-r--r--meta/recipes-core/dbus/dbus.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index b237476493..f0eeffacc8 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -15,12 +15,10 @@ SRC_URI[sha256sum] = "f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa
15 15
16EXTRA_OECONF = "--disable-xml-docs \ 16EXTRA_OECONF = "--disable-xml-docs \
17 --disable-doxygen-docs \ 17 --disable-doxygen-docs \
18 --disable-libaudit \
19 --enable-largefile \ 18 --enable-largefile \
20 --with-system-socket=/run/dbus/system_bus_socket \ 19 --with-system-socket=/run/dbus/system_bus_socket \
21 " 20 "
22EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" 21EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
23EXTRA_OECONF:append:class-native = " --disable-selinux"
24 22
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ 23PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
26 user-session \ 24 user-session \
@@ -32,3 +30,5 @@ PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd
32PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" 30PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
33PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" 31PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
34PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," 32PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"
33PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit"
34PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"