Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/archival/dpkg_deb.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/archival/dpkg_deb.c
r3232 r3621 6 6 */ 7 7 8 //config:config DPKG_DEB 9 //config: bool "dpkg_deb" 10 //config: default n 11 //config: select FEATURE_SEAMLESS_GZ 12 //config: help 13 //config: dpkg-deb unpacks and provides information about Debian archives. 14 //config: 15 //config: This implementation of dpkg-deb cannot pack archives. 16 //config: 17 //config: Unless you have a specific application which requires dpkg-deb, 18 //config: say N here. 19 //config: 20 //config:config FEATURE_DPKG_DEB_EXTRACT_ONLY 21 //config: bool "Extract only (-x)" 22 //config: default n 23 //config: depends on DPKG_DEB 24 //config: help 25 //config: This reduces dpkg-deb to the equivalent of 26 //config: "ar -p <deb> data.tar.gz | tar -zx". However it saves space as none 27 //config: of the extra dpkg-deb, ar or tar options are needed, they are linked 28 //config: to internally. 29 30 //applet:IF_DPKG_DEB(APPLET_ODDNAME(dpkg-deb, dpkg_deb, BB_DIR_USR_BIN, BB_SUID_DROP, dpkg_deb)) 31 //kbuild:lib-$(CONFIG_DPKG_DEB) += dpkg_deb.o 32 8 33 //usage:#define dpkg_deb_trivial_usage 9 //usage: "[-cefxX] FILE [argument "34 //usage: "[-cefxX] FILE [argument]" 10 35 //usage:#define dpkg_deb_full_usage "\n\n" 11 36 //usage: "Perform actions on Debian packages (.debs)\n" … … 46 71 ar_archive->filter = filter_accept_list_reassign; 47 72 73 llist_add_to(&ar_archive->accept, (char*)"data.tar"); 74 llist_add_to(&control_tar_llist, (char*)"control.tar"); 48 75 #if ENABLE_FEATURE_SEAMLESS_GZ 49 76 llist_add_to(&ar_archive->accept, (char*)"data.tar.gz"); … … 57 84 llist_add_to(&ar_archive->accept, (char*)"data.tar.lzma"); 58 85 llist_add_to(&control_tar_llist, (char*)"control.tar.lzma"); 86 #endif 87 #if ENABLE_FEATURE_SEAMLESS_XZ 88 llist_add_to(&ar_archive->accept, (char*)"data.tar.xz"); 89 llist_add_to(&control_tar_llist, (char*)"control.tar.xz"); 59 90 #endif 60 91
Note:
See TracChangeset
for help on using the changeset viewer.