We have a requirement where in we have to create a new user(non-root) on FX30S and run our application with the newly created user permission.
We have tried the bb recipe example from the following link.
We are able to compile the image and also able to see the files “yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/recipe/0.1-r1/packages”
We expected a user to be added to /etc/passwd and /etc/group files and a new folder /home/“username” to be created.
How ever we do not see any new users created. Attached a sample file we have used.
useradd_bb.txt (2.6 KB)
Please let us know if there are any additional steps that have to be executed to create a new user through image.