ostreedev / ostree-rs-ext

Rust library with higher level APIs on top of the core ostree API
Apache License 2.0
72 stars 22 forks source link

tar: Unconditionally use repo tmpdir #606

Closed cgwalters closed 4 months ago

cgwalters commented 4 months ago

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.