[OE-core] [PATCH 32/42] oprofileui-server: Fix usage of systemd unitdir vars
Pau Espin Pedrol
pespin.shar at gmail.com
Sun Mar 13 19:13:30 UTC 2016
Signed-off-by: Pau Espin Pedrol <pespin.shar at 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, at SYSCONFDIR@,${sysconfdir},g' \
- -e 's, at BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/oprofileui-server.service
+ -e 's, at BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/oprofileui-server.service
}
inherit update-rc.d systemd
--
2.7.1
More information about the Openembedded-core
mailing list