summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-core/cluster-service/cluster-service_git.bb
blob: cd75a704d1573e7c439cf28593e414ec0debeee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUMMARY = "The cluster service for AGL Instrument Cluster."
DESCRIPTION = "\
    The cluster-service is a common implementation for functional service \
    of cluster.  It aim to use reusable implementation for inter process \
    communication and process design. "
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"

DEPENDS = "systemd"

PV = "1.0.0+rev${SRCPV}"

SRCREV = "6a583971dd1a98f45e7acf8e12733710bb1bc32e"
SRC_URI = " \
    git://github.com/agl-ic-eg/cluster-service.git;branch=main;protocol=https \
    file://cluster-service.service \
    "
S = "${WORKDIR}/git"

inherit autotools pkgconfig systemd

SYSTEMD_SERVICE:${PN} = "cluster-service.service"

do_install:append() {
    install -d ${D}${systemd_unitdir}/system
    install -m 0644 ${WORKDIR}/cluster-service.service ${D}${systemd_unitdir}/system/
}