wok-6.x view busybox/stuff/busybox-1.22-dpkg_deb-xz.u @ rev 16806

busybox/dpkg_deb: add xz support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 09 11:25:23 2014 +0200 (2014-07-09)
parents
children
line source
1 --- busybox-1.22.0/archival/dpkg_deb.c
2 +++ busybox-1.22.0/archival/dpkg_deb.c
3 @@ -82,6 +82,10 @@
4 llist_add_to(&ar_archive->accept, (char*)"data.tar.lzma");
5 llist_add_to(&control_tar_llist, (char*)"control.tar.lzma");
6 #endif
7 +#if ENABLE_FEATURE_SEAMLESS_XZ
8 + llist_add_to(&ar_archive->accept, (char*)"data.tar.xz");
9 + llist_add_to(&control_tar_llist, (char*)"control.tar.xz");
10 +#endif
12 opt_complementary = "c--efXx:e--cfXx:f--ceXx:X--cefx:x--cefX";
13 opt = getopt32(argv, "cefXx");