aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-oe/recipes-extended/atftp/atftp_git.bbappend
blob: e58306fcc93bdb0350a4e9df6f13286e94f70c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

PRINC := "${@int(PRINC) + 2}"

inherit systemd

SRC_URI += "file://atftpd.service"

SYSTEMD_PACKAGES = "atftpd"
SYSTEMD_SERVICE_atftpd = "atftpd.service"
FILES_atftpd += "${systemd_unitdir}/system/atftpd.service"
RPROVIDES_atftpd += "atftpd-systemd"
RREPLACES_atftpd += "atftpd-systemd"
RCONFLICTS_atftpd += "atftpd-systemd"
do_install_append() {
	install -d ${D}${systemd_unitdir}/system
	install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system
}