Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

tar: Unconditionally use repo tmpdir #606

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

cgwalters
Copy link
Member

The tar code had some fancy logic to lazily allocate a temporary directory if it turned out we needed one, which only broke in the rare case we needed one in an obscure circumstance (a bwrap container in osbuild).

But we already always have a tmpdir allocated in the ostree repo, so switch the code to use that.

The tar code had some fancy logic to lazily allocate a temporary
directory if it turned out we needed one, which only broke
in the rare case we needed one in an obscure circumstance (a bwrap
container in osbuild).

But we already always have a tmpdir allocated in the ostree repo,
so switch the code to use that.
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jmarrero jmarrero merged commit 8f26320 into ostreedev:main Mar 1, 2024
10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants