[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4147/8267] dbus: Add PACKAGE_WRITE_DEPS for postinst
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4147/8267] dbus: Add PACKAGE_WRITE_DEPS for postinst
- Date: Sun, 17 Dec 2017 01:37:42 +0000 (UTC)
commit f7e642da23d7e67697bd00e9be665a08a2a19d56
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date: Thu Jan 19 10:16:34 2017 +0200
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>
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 2ffd8b0..e4f54ec 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.*"
RRECOMMENDS_${PN}-lib = "${PN}"
FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool"
+PACKAGE_WRITE_DEPS += "${@bb.utils.contains('DISTRO_FEATURES','systemd
sysvinit','systemd-systemctl-native','',d)}"
pkg_postinst_dbus() {
# If both systemd and sysvinit are enabled, mask the dbus-1 init script
if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]