summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Bellard <pascal.bellard@ads-lu.com>2010-06-06 23:20:41 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-06-06 23:20:41 (GMT)
commitc62f229d45d54a5a994f25d52077618a7a58236d (patch)
treee0b3a6922f7a7f59380f526f262f8b66b39d508c
parentb82b34e06d0f8b91a1a30a847e0b1dd80ed0a046 (diff)
downloadbusybox-c62f229d45d54a5a994f25d52077618a7a58236d.tar.gz
busybox-c62f229d45d54a5a994f25d52077618a7a58236d.tar.bz2
dpkg: add support for lzma compression
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/dpkg_deb.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index cfbd784..45a791b 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -32,14 +32,17 @@ int dpkg_deb_main(int argc, char **argv)
ar_archive->filter = filter_accept_list_reassign;
#if ENABLE_FEATURE_SEAMLESS_GZ
- llist_add_to(&(ar_archive->accept), (char*)"data.tar.gz");
+ llist_add_to(&ar_archive->accept, (char*)"data.tar.gz");
llist_add_to(&control_tar_llist, (char*)"control.tar.gz");
#endif
-
#if ENABLE_FEATURE_SEAMLESS_BZ2
- llist_add_to(&(ar_archive->accept), (char*)"data.tar.bz2");
+ llist_add_to(&ar_archive->accept, (char*)"data.tar.bz2");
llist_add_to(&control_tar_llist, (char*)"control.tar.bz2");
#endif
+#if ENABLE_FEATURE_SEAMLESS_LZMA
+ llist_add_to(&ar_archive->accept, (char*)"data.tar.lzma");
+ llist_add_to(&control_tar_llist, (char*)"control.tar.lzma");
+#endif
opt_complementary = "c--efXx:e--cfXx:f--ceXx:X--cefx:x--cefX";
opt = getopt32(argv, "cefXx");