Re: [yocto] Setting home directory ownership

2019-07-19 Thread Sergio Torres Soldado
Sorry. I was using NFS boot and was copying over the rootfs with "cp -r" instead of "cp -a", the permissions are fine. The only issue that remains is that I have to use "chmod -R 1000" i.e. the UID instead of the username otherwise I get the following error: """ | DEBUG: Python function

[yocto] Setting home directory ownership

2019-07-19 Thread Sergio Torres Soldado
I am unable to set the home directory ownership. I am using poky@warrior and my last attempt was the following recipe: """ inherit useradd USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "-P someusername -u 1000 -d /home/someusername -r -s /bin/bash foosomeusername" LICENSE = "CLOSED"