diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 17:01:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:51:05 +0000 |
commit | d2fb76e4aed927e9900de2e87e7e1b792bc88651 (patch) | |
tree | 6e1149db3c330e425fb4ec80d45cc3d5e553197b /meta/classes/systemd.bbclass | |
parent | 334a12bb25770dfcd999a7def3612db4b6cd762a (diff) | |
download | openembedded-core-d2fb76e4aed927e9900de2e87e7e1b792bc88651.tar.gz openembedded-core-d2fb76e4aed927e9900de2e87e7e1b792bc88651.tar.bz2 openembedded-core-d2fb76e4aed927e9900de2e87e7e1b792bc88651.zip |
systemd: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/systemd.bbclass')
-rw-r--r-- | meta/classes/systemd.bbclass | 1 |
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() { # 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") } |