do_install_append syntax error
Hello,
I am adding a systemd service. It always complains
Quoted 7 lines
Quoted 5 lines
Variable
do_install_appendcontains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
Already changed _ to :. Anyone can help with this?
Thanks!
Crane
The recipe is like this:
Quoted 79 lines
SUMMARY = " init service at boot"
LICENSE = "CLOSED"
inherit systemd
SRC_URI+= "file://farview.service"S = "${WORKDIR}"
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
SYSTEMD_PACKAGES= "${PN}"SYSTEDD_SERVICE:${PN} = "farview.service"
do_install_append(){install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/farview.service ${D}${systemd_system_unitdir}
}
FILES:{PN} += "${systemd_system_unitdir}/farview.service"
REQUIRED_DISTRO_FEATURES= " systemd "
change do_install_append to do_install:append
Quoted 62 lines · Crane
Hello,
I am adding a systemd service. It always complains
Variable
do_install_appendcontains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.Already changed _ to :. Anyone can help with this?
Thanks!
CraneThe recipe is like this:
SUMMARY = "init service at boot"
LICENSE = "CLOSED"
inherit systemd
SRC_URI+= "file://farview.service"S = "${WORKDIR}"
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
SYSTEMD_PACKAGES= "${PN}"SYSTEDD_SERVICE:${PN} = "farview.service"
do_install_append(){install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/farview.service ${D}${systemd_system_unitdir}
}
FILES:{PN} += "${systemd_system_unitdir}/farview.service"
REQUIRED_DISTRO_FEATURES= " systemd"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#62142): https://lists.yoctoproject.org/g/yocto/message/62142
Mute This Topic: https://lists.yoctoproject.org/mt/103724054/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Ok my god. Got it. It works now. Thanks Raj!