diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-08-10 16:31:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-13 14:44:05 +0100 |
commit | 4e413911df6d981dc091734eba411fd89e16d7db (patch) | |
tree | 833f1be2adc0293c2664807218211948734026dd /meta/recipes-core/dbus | |
parent | c5ae7decf387c3d1dcdefbc6feb3bc6ea09ffcde (diff) | |
download | poky-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.inc | 4 |
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 | ||
16 | EXTRA_OECONF = "--disable-xml-docs \ | 16 | EXTRA_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 | " |
22 | EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" | 21 | EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" |
23 | EXTRA_OECONF:append:class-native = " --disable-selinux" | ||
24 | 22 | ||
25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | 23 | PACKAGECONFIG ??= "${@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 | |||
32 | PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" | 30 | PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" |
33 | PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" | 31 | PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" |
34 | PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," | 32 | PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," |
33 | PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit" | ||
34 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||