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

diff --git a/meta/recipes-extended/at/at_3.1.18.bb 
b/meta/recipes-extended/at/at_3.1.18.bb
index e83ea32..d7f99c5 100644
--- a/meta/recipes-extended/at/at_3.1.18.bb
+++ b/meta/recipes-extended/at/at_3.1.18.bb
@@ -59,9 +59,9 @@ do_install () {
        install -m 0755    ${WORKDIR}/atd.init          
${D}${sysconfdir}/init.d/atd
 
        # install systemd unit files
-       install -d ${D}${systemd_unitdir}/system
-       install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system
-       sed -i -e 's,@SBINDIR@,${sbindir},g' 
${D}${systemd_unitdir}/system/atd.service
+       install -d ${D}${systemd_system_unitdir}
+       install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_system_unitdir}
+       sed -i -e 's,@SBINDIR@,${sbindir},g' 
${D}${systemd_system_unitdir}/atd.service
 
        if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = 
"pam" ]; then
                install -D -m 0644 ${WORKDIR}/${BP}/pam.conf 
${D}${sysconfdir}/pam.d/atd
-- 
2.7.1

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

Reply via email to