diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index b929545823..3325739544 100644 --- a/meta/recipes-core/systemd/systemd-compat-units.bb +++ b/meta/recipes-core/systemd/systemd-compat-units.bb | |||
@@ -26,7 +26,7 @@ SYSTEMD_DISABLED_SYSV_SERVICES = " \ | |||
26 | syslog.busybox \ | 26 | syslog.busybox \ |
27 | " | 27 | " |
28 | 28 | ||
29 | pkg_postinst:${PN} () { | 29 | pkg_postinst_ontarget:${PN} () { |
30 | 30 | ||
31 | test -d $D${sysconfdir}/init.d || exit 0 | 31 | test -d $D${sysconfdir}/init.d || exit 0 |
32 | cd $D${sysconfdir}/init.d | 32 | cd $D${sysconfdir}/init.d |