flatcar-scripts/sdk_lib
Kai Lueke 834e0c11d7 Support running under UID 500
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).
2022-08-31 15:16:21 +02:00
..
updates update_chroot: fix transition to new os-release location 2014-07-14 17:59:15 -07:00
90_env_keep sdk: Forward SIGNER environment variable 2022-06-03 14:59:26 +02:00
Dockerfile.lean-arch sdk-container: add @krnowak's suggestions from code review 2021-11-26 17:54:43 +01:00
Dockerfile.sdk-build sdk-container: add scripts for containerised SDK 2021-11-26 17:54:43 +01:00
Dockerfile.sdk-import sdk_lib/Dockerfile.sdk-import: use root user by default 2022-01-06 20:17:19 +01:00
Dockerfile.sdk-update update_sdk_container_image: work around sandbox permission errors 2022-05-06 11:20:03 +02:00
sdk_container_common.sh sdk: Forward SIGNER environment variable 2022-06-03 14:59:26 +02:00
sdk_entry.sh Support running under UID 500 2022-08-31 15:16:21 +02:00
sdk_init_selfcontained.sh sdk-container: add @krnowak's suggestions from code review 2021-11-26 17:54:43 +01:00
sdk_util.sh SDK: Take environment variable to specify SDK location 2020-05-14 16:03:15 +02:00