Hi Maik, this is a number of things being mixed up. 1) a recipe cannot affect another recipe. the image is a recipe, sshd is a recipe. so you either can set this in a bbappend to thesshd recipe, or in a config file (distro, machine, local) - but not in the image. 2) the override separator is : these days (since dunfell), not _, and you are targetting a specific recipe. so in a config file, it would be SYSTEMD_AUTO_ENABLE:pn-openssh-sshd [3] 7.6p1 suggests that you are on some release made in 2017, or comparable, and the first thing you should do is upgrade, or otherwise you will be shipping outdated and vulnerable software right from day 1.
Greetz On Thu, Oct 13, 2022 at 3:34 PM Leon Woestenberg <[email protected]> wrote: > Hello Maik, > > On Thu, Oct 13, 2022 at 3:17 PM Maik Vermeulen > <[email protected]> wrote: > > We tried two things to disable SSH by default in our image recipe: > > However, both methods don't seem to work. > > Hmm, something else might override it elsewhere? I don't know. > > Seems like a similar question came up in stackoverflow, where some > potential solutions are given that you might want to give a try: > > > https://stackoverflow.com/questions/50651371/disable-a-standard-systemd-service-in-yocto-build > > Regards, > > Leon. > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58333): https://lists.yoctoproject.org/g/yocto/message/58333 Mute This Topic: https://lists.yoctoproject.org/mt/94303163/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
