Re: error when try to use sudo command in recipe

Alexander Kanavin

On Sun, 5 Feb 2023 at 05:15, SIMON BABY <simonkbaby@...> wrote:
Thank you for the reply.
I was trying to add the layer in my yocto build. Below recipe uses sudo commands.

while building it fails at sudo command and getting the error below.

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
That layer is not maintained and you should not be using it. If you
want to use containers, meta-virtualization is the supported way.


Join to automatically receive all group messages.