summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb')
-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 () {
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
25DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" 25PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
26pkg_postinst_${PN} () { 26pkg_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