This seems to be too complicated and there is too little value in it.
Packages cannot be uncompressed using the zstd command without enabling
long mode, too. libarchive requires the same which is also not
implemented.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
archive_error_string(self->archive));
return -ENOTSUP;
}
-
-#if ARCHIVE_VERSION_NUMBER >= 3007002
- // Enable long mode (supported from libarchive >= 3.7.2)
- r = archive_write_set_filter_option(self->archive, NULL, "long", "31");
- if (r) {
- ERROR(self->ctx, "Failed to enable Zstandard long mode: %s\n",
- archive_error_string(self->archive));
- return -ENOTSUP;
- }
-#endif /* ARCHIVE_VERSION_NUMBER >= 3007002 */
break;
}