run_sdk_container: Mount /tmp with exec to fix flatcar_workon

flatcar_workon creates a temporary PORTAGE_TMPDIR. It's probably a good
idea for an SDK in general anyway.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-12-29 09:21:12 +00:00
parent 7893c01ba5
commit 2aca5d3352
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -140,7 +140,7 @@ if [[ -z ${stat} ]] ; then
docker_flags=(
"${tty[@]}"
-i
--mount type=tmpfs,destination=/tmp
--tmpfs /tmp:exec
-v /dev:/dev
-v "${PWD}/sdk_container:/mnt/host/source/"
-v "${PWD}/__build__/images:/mnt/host/source/src/build"