Signed-off-by: Pau Espin Pedrol <pespin.s...@gmail.com>
---
 meta/recipes-extended/cronie/cronie_1.5.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/cronie/cronie_1.5.0.bb 
b/meta/recipes-extended/cronie/cronie_1.5.0.bb
index 697501a..54eabf3 100644
--- a/meta/recipes-extended/cronie/cronie_1.5.0.bb
+++ b/meta/recipes-extended/cronie/cronie_1.5.0.bb
@@ -48,11 +48,11 @@ do_install_append () {
        install -m 0755 ${WORKDIR}/crond.init ${D}${sysconfdir}/init.d/crond
 
        # install systemd unit files
-       install -d ${D}${systemd_unitdir}/system
-       install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system
+       install -d ${D}${systemd_system_unitdir}
+       install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_system_unitdir}
        sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \
               -e 's,@SBINDIR@,${sbindir},g' \
-              ${D}${systemd_unitdir}/system/crond.service
+              ${D}${systemd_system_unitdir}/crond.service
 
        # below are necessary for a complete cron environment
        install -d ${D}${localstatedir}/spool/cron
-- 
2.7.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to