[oe-commits] Martin Jansa : gateone: use systemd_unitdir variable

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 17:02:33 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 9a36d50e15c3c015befa2ad54748539e4bd78df3
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=9a36d50e15c3c015befa2ad54748539e4bd78df3

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Thu Feb 23 13:34:21 2012 +0100

gateone: use systemd_unitdir variable

* maybe we should move systemd_unitdir definition outside systemd.bbclass
  because it's used in few more recipes which doesn't inherit systemd

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../recipes-connectivity/gateone/gateone_git.bb    |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
index 4f9684c..aee88f3 100644
--- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb
+++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
 LICENSE = "AGPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=07d5a2790569bd3e3b422b69ccd43bec"
 
-PR = "r15"
+PR = "r16"
 
 PV = "0.9"
 SRCREV = "a68444610efa2892842893dae828a28527e64a6e"
@@ -20,8 +20,8 @@ export prefix = "${localstatedir}/lib"
 do_install_append() {
 	install -d ${D}${localstatedir}/log/${BPN}
 
-	install -m 0755 -d ${D}${base_libdir}/systemd/system
-	install -m 0644 ${WORKDIR}/gateone.service ${D}${base_libdir}/systemd/system/
+	install -m 0755 -d ${D}${systemd_unitdir}/system
+	install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system/
 
 	install -m 0755 -d ${D}${sysconfdir}/avahi/services/
 	install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/





More information about the Openembedded-commits mailing list