openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

Unpack zstd using --zstd option to tar, not -J #957

Closed andrewshadura closed 10 months ago

andrewshadura commented 10 months ago

Pass a correct argument to tar to unpack zstd. This apparently doesn’t matter to libarchive/bsdtar which detects the compression anyway, or to the unpackarchive tool, but let’s use the right option for the correctness sake.

andrewshadura commented 10 months ago

Right, having actually checked it, it seems bsdtar doesn’t accept --zstd 😢