diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 551bfb70f2..ca81bd5225 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -1461,6 +1461,10 @@ class FetchMethod(object): | |||
| 1461 | cmd = '7z x -so %s | tar x --no-same-owner -f -' % file | 1461 | cmd = '7z x -so %s | tar x --no-same-owner -f -' % file |
| 1462 | elif file.endswith('.7z'): | 1462 | elif file.endswith('.7z'): |
| 1463 | cmd = '7za x -y %s 1>/dev/null' % file | 1463 | cmd = '7za x -y %s 1>/dev/null' % file |
| 1464 | elif file.endswith('.tzst') or file.endswith('.tar.zst'): | ||
| 1465 | cmd = 'zstd --decompress --stdout %s | tar x --no-same-owner -f -' % file | ||
| 1466 | elif file.endswith('.zst'): | ||
| 1467 | cmd = 'zstd --decompress --stdout %s > %s' % (file, efile) | ||
| 1464 | elif file.endswith('.zip') or file.endswith('.jar'): | 1468 | elif file.endswith('.zip') or file.endswith('.jar'): |
| 1465 | try: | 1469 | try: |
| 1466 | dos = bb.utils.to_boolean(urldata.parm.get('dos'), False) | 1470 | dos = bb.utils.to_boolean(urldata.parm.get('dos'), False) |
