summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/systemd/systemd-compat-units.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb
index 253bc9fcf1..c03d97f9c9 100644
--- a/meta/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta/recipes-core/systemd/systemd-compat-units.bb
@@ -27,7 +27,8 @@ SYSTEMD_DISABLED_SYSV_SERVICES = " \
27 27
28pkg_postinst:${PN} () { 28pkg_postinst:${PN} () {
29 29
30 cd $D${sysconfdir}/init.d || exit 0 30 test -d $D${sysconfdir}/init.d || exit 0
31 cd $D${sysconfdir}/init.d
31 32
32 echo "Disabling the following sysv scripts: " 33 echo "Disabling the following sysv scripts: "
33 34