mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-29 06:24:27 +02:00
* WARNING: Variable key FILES_${PN}d (${sbindir}/* ${sysconfdir}/init.d/* /srv/tftp) replaces original key FILES_atftpd ( ${systemd_unitdir}/system/atftpd.service).
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20 lines
513 B
Plaintext
20 lines
513 B
Plaintext
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
|
|
PRINC := "${@int(PRINC) + 2}"
|
|
|
|
inherit systemd
|
|
|
|
SRC_URI += "file://atftpd.service"
|
|
|
|
SYSTEMD_PACKAGES = "${PN}d"
|
|
SYSTEMD_SERVICE_${PN}d = "atftpd.service"
|
|
FILES_${PN}d += "${systemd_unitdir}/system/atftpd.service"
|
|
RPROVIDES_${PN}d += "${PN}d-systemd"
|
|
RREPLACES_${PN}d += "${PN}d-systemd"
|
|
RCONFLICTS_${PN}d += "${PN}d-systemd"
|
|
do_install_append() {
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|