mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-09 16:19:59 +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:
@@ -6,12 +6,12 @@ inherit systemd
|
|||||||
|
|
||||||
SRC_URI += "file://atftpd.service"
|
SRC_URI += "file://atftpd.service"
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "atftpd"
|
SYSTEMD_PACKAGES = "${PN}d"
|
||||||
SYSTEMD_SERVICE_atftpd = "atftpd.service"
|
SYSTEMD_SERVICE_${PN}d = "atftpd.service"
|
||||||
FILES_atftpd += "${systemd_unitdir}/system/atftpd.service"
|
FILES_${PN}d += "${systemd_unitdir}/system/atftpd.service"
|
||||||
RPROVIDES_atftpd += "atftpd-systemd"
|
RPROVIDES_${PN}d += "${PN}d-systemd"
|
||||||
RREPLACES_atftpd += "atftpd-systemd"
|
RREPLACES_${PN}d += "${PN}d-systemd"
|
||||||
RCONFLICTS_atftpd += "atftpd-systemd"
|
RCONFLICTS_${PN}d += "${PN}d-systemd"
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system
|
install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system
|
||||||
|
|||||||
Reference in New Issue
Block a user