mirror of
https://github.com/containers/podman.git
synced 2025-09-27 00:34:32 +08:00
fix systemcontext to use correct TMPDIR
Users are complaining about read/only /var/tmp failing even if TMPDIR=/tmp is set. This PR Fixes: https://github.com/containers/podman/issues/10698 [NO TESTS NEEDED] No way to test this. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/common/libimage/runtime.go
generated
vendored
3
vendor/github.com/containers/common/libimage/runtime.go
generated
vendored
@ -84,6 +84,9 @@ func RuntimeFromStore(store storage.Store, options *RuntimeOptions) (*Runtime, e
|
||||
} else {
|
||||
systemContext = types.SystemContext{}
|
||||
}
|
||||
if systemContext.BigFilesTemporaryDir == "" {
|
||||
systemContext.BigFilesTemporaryDir = tmpdir()
|
||||
}
|
||||
|
||||
setRegistriesConfPath(&systemContext)
|
||||
|
||||
|
Reference in New Issue
Block a user