32 lines
841 B
BlitzBasic
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/
|
|
}
|