summaryrefslogtreecommitdiffstats
path: root/meta/classes/systemd.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 17:01:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 11:53:50 +0000
commit94a648f9f5af6edb0a6a75259eebeacc8c028c4d (patch)
treefb597c855a7cb76799fd6870c2036039ecfb7ac7 /meta/classes/systemd.bbclass
parentf4fb2ed60a6f4342f6dd6f9f3c043b1e079f64e5 (diff)
downloadpoky-94a648f9f5af6edb0a6a75259eebeacc8c028c4d.tar.gz
systemd: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency (From OE-Core rev: d2fb76e4aed927e9900de2e87e7e1b792bc88651) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/systemd.bbclass')
-rw-r--r--meta/classes/systemd.bbclass1
1 files changed, 1 insertions, 0 deletions
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() {
17 # files. 17 # files.
18 if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): 18 if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
19 d.appendVar("DEPENDS", " systemd-systemctl-native") 19 d.appendVar("DEPENDS", " systemd-systemctl-native")
20 d.appendVar("PACKAGE_WRITE_DEPS", " systemd-systemctl-native")
20 if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): 21 if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
21 d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") 22 d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
22} 23}