diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:16:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:50 +0000 |
commit | f7e642da23d7e67697bd00e9be665a08a2a19d56 (patch) | |
tree | df469eb540aef2d24489ea998b2ff30e43d57fa2 /meta/recipes-core | |
parent | 0c37833e6286cf7f1b9178bbad8d707f0716a4bc (diff) | |
download | poky-f7e642da23d7e67697bd00e9be665a08a2a19d56.tar.gz |
dbus: Add PACKAGE_WRITE_DEPS for postinst
systemctl is needed if both systemd and sysvinit are in distro
features.
(From OE-Core rev: 39fb37a5143981ae16e722f4ebbbe1b29cbed5a4)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/dbus/dbus_1.10.14.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.10.14.bb b/meta/recipes-core/dbus/dbus_1.10.14.bb index 2ffd8b06bb..e4f54ec734 100644 --- a/meta/recipes-core/dbus/dbus_1.10.14.bb +++ b/meta/recipes-core/dbus/dbus_1.10.14.bb | |||
@@ -76,6 +76,7 @@ FILES_${PN}-lib = "${libdir}/lib*.so.*" | |||
76 | RRECOMMENDS_${PN}-lib = "${PN}" | 76 | RRECOMMENDS_${PN}-lib = "${PN}" |
77 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool" | 77 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool" |
78 | 78 | ||
79 | PACKAGE_WRITE_DEPS += "${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}" | ||
79 | pkg_postinst_dbus() { | 80 | pkg_postinst_dbus() { |
80 | # If both systemd and sysvinit are enabled, mask the dbus-1 init script | 81 | # If both systemd and sysvinit are enabled, mask the dbus-1 init script |
81 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then | 82 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then |