diff options
Diffstat (limited to 'image/backends')
-rw-r--r-- | image/backends/tar.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/image/backends/tar.cc b/image/backends/tar.cc index d9c2248..b05f4a5 100644 --- a/image/backends/tar.cc +++ b/image/backends/tar.cc @@ -64,6 +64,11 @@ public: break; case XZ: archive_write_add_filter_xz(a); + res = archive_write_set_filter_option(a, "xz", "threads", "0"); + if(res < ARCHIVE_OK) { + output_warning("tar backend", "could not enable xz threading", + archive_error_string(a)); + } break; } |