Message ID | 20241124092850.742383-1-pascal.eberhard@gmail.com |
---|---|
State | Accepted, archived |
Commit | 5881ca0e0d53937cd25a57ff682a3b7577b0b7f8 |
Headers | show |
Series | fetch2: fix unpack of a single zstd file | expand |
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 7ee12f452..f79e278b1 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -1518,7 +1518,7 @@ class FetchMethod(object): (file, urldata.parm.get('unpack'))) base, ext = os.path.splitext(file) - if ext in ['.gz', '.bz2', '.Z', '.xz', '.lz']: + if ext in ['.gz', '.bz2', '.Z', '.xz', '.lz', '.zst']: efile = os.path.join(rootdir, os.path.basename(base)) else: efile = file