change do_install_append to do_install:append

On Sun, Jan 14, 2024 at 11:09 AM Crane <crane2...@gmail.com> wrote:
>
> Hello,
>
> I am adding a systemd service. It always complains
>
> Variable do_install_append contains 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:
>
> 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.
View/Reply Online (#62143): https://lists.yoctoproject.org/g/yocto/message/62143
Mute This Topic: https://lists.yoctoproject.org/mt/103724054/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to