summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/modutils-initscripts
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-19 22:51:06 +0000
commit5e8336b2d45da36c64039080f896338537ec234e (patch)
treeb31e5ee64cb4124fb08b24f7ab9490ee22788b80 /meta/recipes-kernel/modutils-initscripts
parent279fec228282749f4ff6c95f79295c1e8b3db76d (diff)
downloadopenembedded-core-5e8336b2d45da36c64039080f896338537ec234e.tar.gz
openembedded-core-5e8336b2d45da36c64039080f896338537ec234e.tar.bz2
openembedded-core-5e8336b2d45da36c64039080f896338537ec234e.zip
modutils-initsripts: 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/recipes-kernel/modutils-initscripts')
-rw-r--r--meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb2
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 () {
install -m 0755 ${WORKDIR}/modutils.sh ${D}${sysconfdir}/init.d/
}
-DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
+PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
pkg_postinst_${PN} () {
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
if [ -n "$D" ]; then