Hi Parthiban, On Fri, Mar 02, 2018 at 12:29:25PM +0100, Parthiban Nallathambi wrote: > Hello All, > > I have created a custom group e.g "grp1" in my application recipe say > "app.bb". > > GROUPADD_PARAM_${PN} = "grp1" > > I am trying add my custom user e.g: "user1" to this group "grp1" in > "space.bb". > > USERADD_PARAM_${PN} = "-d ${localstatedir}/lib/space/ -s /bin/false -G grp1 > -U user1" > > The useradd command failed saying the "useradd: group 'grp1' does not > exist". I have also tried adding DEPENDS_${PN} = "app" in space.bb, but it > doesn't help. > > How can I add my custom user to my custom group in bitbake recipe?
Please share your sample recipes here. It will be helpful to debug the problem. > Question in Stackoverflow: > https://stackoverflow.com/questions/49068076/yocto-add-custom-user-to-custom-group > > -- > Thanks, > Parthiban Nallathambi Best Regards, Maxin -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto