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-20 11:53:50 +0000 |
commit | d623c587119f7e9f990f873f8fe4c4ae8a835e8f (patch) | |
tree | 1c05fc3f6168a7f8820839feed57ebe674555e49 /meta/recipes-kernel/modutils-initscripts | |
parent | 5c967d072c2fea5013e1688a764e3253fc59c13b (diff) | |
download | poky-d623c587119f7e9f990f873f8fe4c4ae8a835e8f.tar.gz |
modutils-initsripts: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 5e8336b2d45da36c64039080f896338537ec234e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/modutils-initscripts')
-rw-r--r-- | meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb b/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb index db670cfbb4..0f3df5577b 100644 --- a/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb +++ b/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb | |||
@@ -22,7 +22,7 @@ do_install () { | |||
22 | install -m 0755 ${WORKDIR}/modutils.sh ${D}${sysconfdir}/init.d/ | 22 | install -m 0755 ${WORKDIR}/modutils.sh ${D}${sysconfdir}/init.d/ |
23 | } | 23 | } |
24 | 24 | ||
25 | DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" | 25 | PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" |
26 | pkg_postinst_${PN} () { | 26 | pkg_postinst_${PN} () { |
27 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 27 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
28 | if [ -n "$D" ]; then | 28 | if [ -n "$D" ]; then |