diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-03-24 12:15:33 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-03-24 12:15:33 +0000 |
| commit | aaae1865727bcd53da581340456de34dfb182d5c (patch) | |
| tree | b0be881225fad8bcb14977854b248539b7d81ea2 /archival/dpkg.c | |
| parent | 052807cc3330b3c5c1fb60b93ad0d2039d6142df (diff) | |
| download | busybox-w32-zstd.tar.gz busybox-w32-zstd.tar.bz2 busybox-w32-zstd.zip | |
archival: support zstd in rpm and dpkgzstd
Diffstat (limited to 'archival/dpkg.c')
| -rw-r--r-- | archival/dpkg.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index a53da8df1..c007633dd 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
| @@ -1510,6 +1510,9 @@ static void init_archive_deb_control(archive_handle_t *ar_handle) | |||
| 1510 | #if ENABLE_FEATURE_SEAMLESS_XZ | 1510 | #if ENABLE_FEATURE_SEAMLESS_XZ |
| 1511 | llist_add_to(&(ar_handle->accept), (char*)"control.tar.xz"); | 1511 | llist_add_to(&(ar_handle->accept), (char*)"control.tar.xz"); |
| 1512 | #endif | 1512 | #endif |
| 1513 | #if ENABLE_FEATURE_SEAMLESS_ZSTD | ||
| 1514 | llist_add_to(&(ar_handle->accept), (char*)"control.tar.zst"); | ||
| 1515 | #endif | ||
| 1513 | 1516 | ||
| 1514 | /* Assign the tar handle as a subarchive of the ar handle */ | 1517 | /* Assign the tar handle as a subarchive of the ar handle */ |
| 1515 | ar_handle->dpkg__sub_archive = tar_handle; | 1518 | ar_handle->dpkg__sub_archive = tar_handle; |
| @@ -1537,6 +1540,9 @@ static void init_archive_deb_data(archive_handle_t *ar_handle) | |||
| 1537 | #if ENABLE_FEATURE_SEAMLESS_XZ | 1540 | #if ENABLE_FEATURE_SEAMLESS_XZ |
| 1538 | llist_add_to(&(ar_handle->accept), (char*)"data.tar.xz"); | 1541 | llist_add_to(&(ar_handle->accept), (char*)"data.tar.xz"); |
| 1539 | #endif | 1542 | #endif |
| 1543 | #if ENABLE_FEATURE_SEAMLESS_ZSTD | ||
| 1544 | llist_add_to(&(ar_handle->accept), (char*)"data.tar.zst"); | ||
| 1545 | #endif | ||
| 1540 | 1546 | ||
| 1541 | /* Assign the tar handle as a subarchive of the ar handle */ | 1547 | /* Assign the tar handle as a subarchive of the ar handle */ |
| 1542 | ar_handle->dpkg__sub_archive = tar_handle; | 1548 | ar_handle->dpkg__sub_archive = tar_handle; |
