summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/dbus/dbus_1.16.2.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.16.2.bb b/meta/recipes-core/dbus/dbus_1.16.2.bb
index 65f7028b4f..aabc4c3efb 100644
--- a/meta/recipes-core/dbus/dbus_1.16.2.bb
+++ b/meta/recipes-core/dbus/dbus_1.16.2.bb
@@ -28,7 +28,7 @@ EXTRA_OEMESON = "-Dxml_docs=disabled \
28 " 28 "
29 29
30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ 30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
31 user-session \ 31 traditional-activation user-session \
32 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ 32 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
33 " 33 "
34PACKAGECONFIG:class-native = "" 34PACKAGECONFIG:class-native = ""
@@ -36,6 +36,7 @@ PACKAGECONFIG:class-nativesdk = ""
36 36
37PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemd_system_unitdir=${systemd_system_unitdir},-Dsystemd=disabled,systemd" 37PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemd_system_unitdir=${systemd_system_unitdir},-Dsystemd=disabled,systemd"
38PACKAGECONFIG[x11] = "-Dx11_autolaunch=enabled,-Dx11_autolaunch=disabled, virtual/libx11 libsm" 38PACKAGECONFIG[x11] = "-Dx11_autolaunch=enabled,-Dx11_autolaunch=disabled, virtual/libx11 libsm"
39PACKAGECONFIG[traditional-activation] = "-Dtraditional_activation=true,-Dtraditional_activation=false"
39PACKAGECONFIG[user-session] = "-Duser_session=true -Dsystemd_user_unitdir=${systemd_user_unitdir},-Duser_session=false" 40PACKAGECONFIG[user-session] = "-Duser_session=true -Dsystemd_user_unitdir=${systemd_user_unitdir},-Duser_session=false"
40PACKAGECONFIG[verbose-mode] = "-Dverbose_mode=true,-Dverbose_mode=false,," 41PACKAGECONFIG[verbose-mode] = "-Dverbose_mode=true,-Dverbose_mode=false,,"
41PACKAGECONFIG[audit] = "-Dlibaudit=enabled,-Dlibaudit=disabled,audit" 42PACKAGECONFIG[audit] = "-Dlibaudit=enabled,-Dlibaudit=disabled,audit"
@@ -152,8 +153,11 @@ do_install:append:class-target() {
152 153
153 chown messagebus:messagebus ${D}${localstatedir}/lib/dbus 154 chown messagebus:messagebus ${D}${localstatedir}/lib/dbus
154 155
155 chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper 156 if [ "${@bb.utils.contains('PACKAGECONFIG', 'traditional-activation', '1', '0', d)}" = "1" ]
156 chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper 157 then
158 chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper
159 chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper
160 fi
157 161
158 # Remove Red Hat initscript 162 # Remove Red Hat initscript
159 rm -rf ${D}${sysconfdir}/rc.d 163 rm -rf ${D}${sysconfdir}/rc.d