diff options
| -rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units.bb | 3 |
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 | ||
| 28 | pkg_postinst:${PN} () { | 28 | pkg_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 | ||
