mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
When started by the Flatcar core user, the SDK failed to use UID 500 because inside the SDK there already is the core user from nss-altfiles with the same ID. This way, the SDK user was continuing with UID 1000 and had permission errors. Allow to reuse an existing ID for the SDK user. However, this only works when usermod doesn't find a process that uses this ID, and we had a race between the SDK entry points called by "docker start" and by "docker exec". The race is unwanted anyway because we don't want to execute the commands while setup_board is still running. Solve it by setting the entrypoint for "docker start" directly to "bash -l" in "docker create" (this is also what the entry point does as last step: sudo su -l). |
||
---|---|---|
.. | ||
updates | ||
90_env_keep | ||
Dockerfile.lean-arch | ||
Dockerfile.sdk-build | ||
Dockerfile.sdk-import | ||
Dockerfile.sdk-update | ||
sdk_container_common.sh | ||
sdk_entry.sh | ||
sdk_init_selfcontained.sh | ||
sdk_util.sh |