diff options
-rw-r--r-- | meta-oe/recipes-connectivity/gateone/gateone/gateone.service (renamed from meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/gateone/gateone_git.bb | 10 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend | 16 |
3 files changed, 8 insertions, 18 deletions
diff --git a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service b/meta-oe/recipes-connectivity/gateone/gateone/gateone.service index 7ff60020a..7ff60020a 100644 --- a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service +++ b/meta-oe/recipes-connectivity/gateone/gateone/gateone.service | |||
diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb index e9c182da5..355200978 100644 --- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb +++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb | |||
@@ -2,18 +2,19 @@ DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client" | |||
2 | LICENSE = "AGPLv3" | 2 | LICENSE = "AGPLv3" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c" |
4 | 4 | ||
5 | PR = "r10" | 5 | PR = "r13" |
6 | 6 | ||
7 | PV = "1.1" | 7 | PV = "1.1" |
8 | SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9" | 8 | SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9" |
9 | SRC_URI = "git://github.com/liftoff/GateOne.git \ | 9 | SRC_URI = "git://github.com/liftoff/GateOne.git \ |
10 | file://gateone-avahi.service \ | 10 | file://gateone-avahi.service \ |
11 | file://server.conf \ | 11 | file://server.conf \ |
12 | file://gateone.service \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
15 | 16 | ||
16 | inherit distutils allarch python-dir | 17 | inherit distutils allarch python-dir systemd |
17 | 18 | ||
18 | export prefix = "${localstatedir}/lib" | 19 | export prefix = "${localstatedir}/lib" |
19 | 20 | ||
@@ -24,6 +25,9 @@ do_install_append() { | |||
24 | install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/ | 25 | install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/ |
25 | 26 | ||
26 | install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf | 27 | install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf |
28 | |||
29 | install -d ${D}${systemd_unitdir}/system | ||
30 | install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system | ||
27 | } | 31 | } |
28 | 32 | ||
29 | FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${localstatedir}/volatile/log ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}" | 33 | FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${localstatedir}/volatile/log ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}" |
@@ -57,3 +61,5 @@ RDEPENDS_${PN} = "file \ | |||
57 | python-unixadmin \ | 61 | python-unixadmin \ |
58 | python-xml \ | 62 | python-xml \ |
59 | " | 63 | " |
64 | |||
65 | SYSTEMD_SERVICE_${PN} = "gateone.service" | ||
diff --git a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend deleted file mode 100644 index 8ec9dfafd..000000000 --- a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | PRINC := "${@int(PRINC) + 2}" | ||
4 | |||
5 | inherit systemd | ||
6 | |||
7 | SRC_URI += "file://gateone.service" | ||
8 | |||
9 | NATIVE_SYSTEMD_SUPPORT = "1" | ||
10 | SYSTEMD_SERVICE_${PN} = "gateone.service" | ||
11 | |||
12 | do_install_append() { | ||
13 | install -d ${D}${systemd_unitdir}/system | ||
14 | install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system | ||
15 | } | ||
16 | |||