0
0 Comments

I am building linux system for raspberrypi4 but for some reason I need to remove [email protected] service in yocto.

I have created systemd_%.bbappend file for that.

Host PC is Ubuntu 18.04

this is working with warrior branch

Now, I am trying to compile with dunfell branch in yocto

but at the time of systemd compiling it gives an error like

"cannot remove /etc/systemd/system/getty.target.wants/[email protected], no such file or deirectory

But at the end, In final image there I can see [email protected]

Also I can’t find any other receipe that creates this link.

systemd_%.bbappend looks like this

 DESCRIPTION = "Customization of systemD services."

 do_install_append() {

 rm {D}{sysconfdir}/systemd/system/getty.target.wants/[email protected]

 }

 FILES_{PN} += "{sysconfdir}/systemd/system"

 REQUIRED_DISTRO_FEATURES= "systemd"

Thanks

Margish

Anonymous Asked question May 13, 2021