Skip to content

Commit 2aca5d3

Browse files
committed
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>
1 parent 7893c01 commit 2aca5d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎run_sdk_container‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ if [[ -z ${stat} ]] ; then
140140
docker_flags=(
141141
"${tty[@]}"
142142
-i
143-
--mount type=tmpfs,destination=/tmp
143+
--tmpfs /tmp:exec
144144
-v /dev:/dev
145145
-v "${PWD}/sdk_container:/mnt/host/source/"
146146
-v "${PWD}/__build__/images:/mnt/host/source/src/build"

0 commit comments

Comments
 (0)