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

diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb 
b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
index cc3477b..e1a153b 100644
--- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
@@ -19,10 +19,10 @@ do_install_append() {
        install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/init 
${D}${sysconfdir}/init.d/oprofileui-server
 
-       install -d ${D}${systemd_unitdir}/system
-       install -m 0644 ${WORKDIR}/oprofileui-server.service 
${D}${systemd_unitdir}/system/
+       install -d ${D}${systemd_system_unitdir}
+       install -m 0644 ${WORKDIR}/oprofileui-server.service 
${D}${systemd_system_unitdir}/
        sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
-               -e 's,@BINDIR@,${bindir},g' 
${D}${systemd_unitdir}/system/oprofileui-server.service
+               -e 's,@BINDIR@,${bindir},g' 
${D}${systemd_system_unitdir}/oprofileui-server.service
 }
 
 inherit update-rc.d systemd
-- 
2.7.1

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

Reply via email to