Signed-off-by: Pau Espin Pedrol <pespin.s...@gmail.com>
---
 meta/recipes-bsp/apmd/apmd_3.2.2-15.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb 
b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
index 4ff6ad0..e66a553 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
@@ -72,10 +72,10 @@ do_install() {
        sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' 
${WORKDIR}/init > ${D}${sysconfdir}/init.d/apmd
        chmod 755 ${D}${sysconfdir}/init.d/apmd
 
-       install -d ${D}${systemd_unitdir}/system
-       install -m 0644 ${WORKDIR}/apmd.service ${D}${systemd_unitdir}/system/
+       install -d ${D}${systemd_system_unitdir}
+       install -m 0644 ${WORKDIR}/apmd.service ${D}${systemd_system_unitdir}/
        sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
-               -e 's,@SBINDIR@,${sbindir},g' 
${D}${systemd_unitdir}/system/apmd.service
+               -e 's,@SBINDIR@,${sbindir},g' 
${D}${systemd_system_unitdir}/apmd.service
 }
 
 PACKAGES =+ "libapm apm"
-- 
2.7.1

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

Reply via email to