mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 20:21:58 +02:00
15 lines
417 B
Plaintext
15 lines
417 B
Plaintext
PRINC := "${@int(PRINC) + 1}"
|
|
|
|
inherit systemd
|
|
|
|
SYSTEMD_PACKAGES = "${PN}-systemd"
|
|
SYSTEMD_SERVICE = "${PN}.socket"
|
|
SYSTEMD_OESCONS = "true"
|
|
|
|
do_install_append() {
|
|
#support for systemd
|
|
install -d ${D}${systemd_unitdir}/system/
|
|
install -m 0644 ${S}/systemd/${PN}.service ${D}${systemd_unitdir}/system/${PN}.service
|
|
install -m 0644 ${S}/systemd/${PN}.socket ${D}${systemd_unitdir}/system/${PN}.socket
|
|
}
|