crops / yocto-dockerfiles

This repository is for -base and -builder containers for building derivative containers (such as poky-container) for containerized Yocto Project builds.
GNU General Public License v2.0
147 stars 56 forks source link

bitbake devshell opens as root #77

Closed tewarid closed 2 years ago

tewarid commented 2 years ago

I've got a container based on crops/yocto:ubuntu-20.04-base (image id 803b01972b98) which when started places me in shell environment of user yoctouser, but when I source poky/oe environment, and run bitbake recipe -c devshell, I get a root shell. I'd prefer the user remained yoctouser. Thoughts?

tewarid commented 2 years ago

This is the expected behavior for devshell - https://lists.yoctoproject.org/g/yocto/topic/61282064.