Files
meta-kineintercom/recipes-apps/kine-services/kine-services.bb
T
2022-12-17 12:57:03 +01:00

32 lines
841 B
BlitzBasic

# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "KineIntercom Services"
MAINTAINER = "Vincent BENOIT <vincent.benoit@benserv.fr>"
LICENSE = "CLOSED"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI = " \
file://loadkeysfr.service \
file://gpiomem.service \
"
S = "${WORKDIR}"
inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
SYSTEMD_SERVICE:${PN} = "loadkeysfr.service gpiomem.service"
FILES:${PN} = " \
${systemd_unitdir}/system/loadkeysfr.service \
${systemd_unitdir}/system/gpiomem.service \
"
do_install:append() {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/loadkeysfr.service ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/gpiomem.service ${D}${systemd_unitdir}/system/
}