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
EXTRA_USERS_PARAMS = "\
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,
Nicolas
Solved! Go to Solution.
Hello Nicolas SALMIN,
Have you tried either adding these to the image recipe itself or to the local.conf file (using INHERIT += "extrausers" instead of just inherit in lowercase)? I think the problem might be that these settings work on a global or image level.
Let us know of your findings!
Regards,
Hello Nicolas SALMIN,
Have you tried either adding these to the image recipe itself or to the local.conf file (using INHERIT += "extrausers" instead of just inherit in lowercase)? I think the problem might be that these settings work on a global or image level.
Let us know of your findings!
Regards,
Hello gusarambula,
Thank you for all your advice it's works !
For information i have changed root user group/home directory by adding these to the image recipe as you told. It works also with a bash script in init directory.
Thanks again !
Regards,