Re: [yocto] "usermod command did not succeed" while building image

2024-07-11 Thread Alexander Kanavin
Come to think of it, a less hacky way to do this from a bbappend is to place the unneeded binaries into a separate package, and then not install that package. That way, you can still add them to images when needed, but if they're deleted already in do_install, you can't. Alex On Thu, 11 Jul 2024

Re: [yocto] "usermod command did not succeed" while building image

2024-07-11 Thread Joel GUITTET via lists.yoctoproject.org
Of course! Thanks for this reminder Alex! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63471): https://lists.yoctoproject.org/g/yocto/message/63471 Mute This Topic: https://lists.yoctoproject.org/mt/107159697/21656 Group Owner: yocto+ow...@lists.y

Re: [yocto] "usermod command did not succeed" while building image

2024-07-11 Thread Alexander Kanavin
You need to do this with a class-target qualifier. Otherwise this removal will be done for shadow-native too, and none of the user management will work. Alex On Thu, 11 Jul 2024 at 11:56, Joel GUITTET via lists.yoctoproject.org wrote: > > Hello, > > I'm building an image removing userdel and use