From d2fb76e4aed927e9900de2e87e7e1b792bc88651 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 19 Jan 2017 17:01:10 +0000 Subject: systemd: Add PACKAGE_WRITE_DEPS for postinst The postinstall needs systemd-systemctl-native, mark the dependency Signed-off-by: Richard Purdie --- meta/classes/systemd.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/systemd.bbclass') diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index 0b1c2282ae..1ce0b948b1 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass @@ -17,6 +17,7 @@ python __anonymous() { # files. if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): d.appendVar("DEPENDS", " systemd-systemctl-native") + d.appendVar("PACKAGE_WRITE_DEPS", " systemd-systemctl-native") if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") } -- cgit v1.2.3