mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
gateone: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -2,18 +2,19 @@ DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
|
|||||||
LICENSE = "AGPLv3"
|
LICENSE = "AGPLv3"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
|
||||||
|
|
||||||
PR = "r10"
|
PR = "r13"
|
||||||
|
|
||||||
PV = "1.1"
|
PV = "1.1"
|
||||||
SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9"
|
SRCREV = "ea5db3dcb3bbbe445ae6d1a5611c1f8d547c57b9"
|
||||||
SRC_URI = "git://github.com/liftoff/GateOne.git \
|
SRC_URI = "git://github.com/liftoff/GateOne.git \
|
||||||
file://gateone-avahi.service \
|
file://gateone-avahi.service \
|
||||||
file://server.conf \
|
file://server.conf \
|
||||||
|
file://gateone.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit distutils allarch python-dir
|
inherit distutils allarch python-dir systemd
|
||||||
|
|
||||||
export prefix = "${localstatedir}/lib"
|
export prefix = "${localstatedir}/lib"
|
||||||
|
|
||||||
@@ -24,6 +25,9 @@ do_install_append() {
|
|||||||
install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
|
install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
|
||||||
|
|
||||||
install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
|
install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
|
||||||
|
|
||||||
|
install -d ${D}${systemd_unitdir}/system
|
||||||
|
install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${localstatedir}/volatile/log ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}"
|
FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${localstatedir}/volatile/log ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}"
|
||||||
@@ -57,3 +61,5 @@ RDEPENDS_${PN} = "file \
|
|||||||
python-unixadmin \
|
python-unixadmin \
|
||||||
python-xml \
|
python-xml \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
SYSTEMD_SERVICE_${PN} = "gateone.service"
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 2}"
|
|
||||||
|
|
||||||
inherit systemd
|
|
||||||
|
|
||||||
SRC_URI += "file://gateone.service"
|
|
||||||
|
|
||||||
NATIVE_SYSTEMD_SUPPORT = "1"
|
|
||||||
SYSTEMD_SERVICE_${PN} = "gateone.service"
|
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
install -d ${D}${systemd_unitdir}/system
|
|
||||||
install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user