AnsweredAssumed Answered

Change root parameters in recipe

Question asked by Nicolas SALMIN on Jan 12, 2016
Latest reply on Jan 14, 2016 by Nicolas SALMIN

Dear all,

It's my first post and i'm new with Yocto project.

So, I have some trouble and I hope that somebody can help me ...

I would like to change root group in order to use an usb camera. (root need to be in plugdev group). Some examples are available here and i have used them to write my recipe :


SUMMARY = "Add root user to plugdev group"

DESCRIPTION = "This recipe add root user to plugdev group (for  camera support)"


inherit extrausers


# Add root user to plugdev group


     usermod -a -G plugdev root; \



There is no error during the build but, on the target root is not in plugdev group


Thanks for your help

Have a good day,