mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
atftpd: fix warning about overwritting keys
* 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>
This commit is contained in:
parent
6ac7306132
commit
6bb74e9147
|
|
@ -6,12 +6,12 @@ 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"
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user