1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt.
7 menu "Archival Utilities"
9 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ
10 bool "Make tar, rpm, modprobe etc understand .xz data"
11 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_XZ
13 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA
14 bool "Make tar, rpm, modprobe etc understand .lzma data"
15 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_LZMA
17 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2
18 bool "Make tar, rpm, modprobe etc understand .bz2 data"
19 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_BZ2
21 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
22 bool "Make tar, rpm, modprobe etc understand .gz data"
23 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_GZ
25 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z
26 bool "Make tar, rpm, modprobe etc understand .Z data"
27 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_Z # it is ancient
29 config BUSYBOX_CONFIG_AR
31 default BUSYBOX_DEFAULT_AR # needs to be improved to be able to replace binutils ar
33 ar is an archival utility program used to create, modify, and
34 extract contents from archives. In practice, it is used exclusively
35 for object module archives used by compilers.
37 Unless you have a specific application which requires ar, you should
38 probably say N here: most compilers come with their own ar utility.
40 config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
41 bool "Support long filenames (not needed for debs)"
42 default BUSYBOX_DEFAULT_FEATURE_AR_LONG_FILENAMES
43 depends on BUSYBOX_CONFIG_AR
45 By default the ar format can only store the first 15 characters
46 of the filename, this option removes that limitation.
47 It supports the GNU ar long filename method which moves multiple long
48 filenames into a the data section of a new ar entry.
50 config BUSYBOX_CONFIG_FEATURE_AR_CREATE
51 bool "Support archive creation"
52 default BUSYBOX_DEFAULT_FEATURE_AR_CREATE
53 depends on BUSYBOX_CONFIG_AR
55 This enables archive creation (-c and -r) with busybox ar.
56 config BUSYBOX_CONFIG_UNCOMPRESS
57 bool "uncompress (7.1 kb)"
58 default BUSYBOX_DEFAULT_UNCOMPRESS # ancient
60 uncompress is used to decompress archives created by compress.
61 Not much used anymore, replaced by gzip/gunzip.
62 config BUSYBOX_CONFIG_GUNZIP
64 default BUSYBOX_DEFAULT_GUNZIP
65 select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
67 gunzip is used to decompress archives created by gzip.
68 You can use the '-t' option to test the integrity of
69 an archive, without decompressing it.
71 config BUSYBOX_CONFIG_ZCAT
73 default BUSYBOX_DEFAULT_ZCAT
74 select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
78 config BUSYBOX_CONFIG_FEATURE_GUNZIP_LONG_OPTIONS
79 bool "Enable long options"
80 default BUSYBOX_DEFAULT_FEATURE_GUNZIP_LONG_OPTIONS
81 depends on (BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT) && BUSYBOX_CONFIG_LONG_OPTS
82 config BUSYBOX_CONFIG_BUNZIP2
83 bool "bunzip2 (8.7 kb)"
84 default BUSYBOX_DEFAULT_BUNZIP2
85 select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
87 bunzip2 is a compression utility using the Burrows-Wheeler block
88 sorting text compression algorithm, and Huffman coding. Compression
89 is generally considerably better than that achieved by more
90 conventional LZ77/LZ78-based compressors, and approaches the
91 performance of the PPM family of statistical compressors.
93 Unless you have a specific application which requires bunzip2, you
94 should probably say N here.
96 config BUSYBOX_CONFIG_BZCAT
98 default BUSYBOX_DEFAULT_BZCAT
99 select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
101 Alias to "bunzip2 -c".
102 config BUSYBOX_CONFIG_UNLZMA
103 bool "unlzma (7.5 kb)"
104 default BUSYBOX_DEFAULT_UNLZMA
106 unlzma is a compression utility using the Lempel-Ziv-Markov chain
107 compression algorithm, and range coding. Compression
108 is generally considerably better than that achieved by the bzip2
111 config BUSYBOX_CONFIG_LZCAT
112 bool "lzcat (7.5 kb)"
113 default BUSYBOX_DEFAULT_LZCAT
115 Alias to "unlzma -c".
117 config BUSYBOX_CONFIG_LZMA
119 default BUSYBOX_DEFAULT_LZMA
121 Enable this option if you want commands like "lzma -d" to work.
122 IOW: you'll get lzma applet, but it will always require -d option.
123 config BUSYBOX_CONFIG_UNXZ
125 default BUSYBOX_DEFAULT_UNXZ
127 unxz is a unlzma successor.
129 config BUSYBOX_CONFIG_XZCAT
131 default BUSYBOX_DEFAULT_XZCAT
135 config BUSYBOX_CONFIG_XZ
137 default BUSYBOX_DEFAULT_XZ
139 Enable this option if you want commands like "xz -d" to work.
140 IOW: you'll get xz applet, but it will always require -d option.
141 config BUSYBOX_CONFIG_BZIP2
143 default BUSYBOX_DEFAULT_BZIP2
145 bzip2 is a compression utility using the Burrows-Wheeler block
146 sorting text compression algorithm, and Huffman coding. Compression
147 is generally considerably better than that achieved by more
148 conventional LZ77/LZ78-based compressors, and approaches the
149 performance of the PPM family of statistical compressors.
151 Unless you have a specific application which requires bzip2, you
152 should probably say N here.
154 config BUSYBOX_CONFIG_BZIP2_SMALL
155 int "Trade bytes for speed (0:fast, 9:small)"
156 default BUSYBOX_DEFAULT_BZIP2_SMALL # all "fast or small" options default to small
158 depends on BUSYBOX_CONFIG_BZIP2
160 Trade code size versus speed.
161 Approximate values with gcc-6.3.0 "bzip -9" compressing
163 value time (sec) code size (386)
164 9 (smallest) 70.11 7687
169 4-0 (fastest) 64.14 12083
171 config BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
172 bool "Enable decompression"
173 default BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS
174 depends on BUSYBOX_CONFIG_BZIP2 || BUSYBOX_CONFIG_BUNZIP2 || BUSYBOX_CONFIG_BZCAT
176 Enable -d (--decompress) and -t (--test) options for bzip2.
177 This will be automatically selected if bunzip2 or bzcat is
179 config BUSYBOX_CONFIG_CPIO
181 default BUSYBOX_DEFAULT_CPIO
183 cpio is an archival utility program used to create, modify, and
184 extract contents from archives.
185 cpio has 110 bytes of overheads for every stored file.
187 This implementation of cpio can extract cpio archives created in the
188 "newc" or "crc" format.
190 Unless you have a specific application which requires cpio, you
191 should probably say N here.
193 config BUSYBOX_CONFIG_FEATURE_CPIO_O
194 bool "Support archive creation"
195 default BUSYBOX_DEFAULT_FEATURE_CPIO_O
196 depends on BUSYBOX_CONFIG_CPIO
198 This implementation of cpio can create cpio archives in the "newc"
201 config BUSYBOX_CONFIG_FEATURE_CPIO_P
202 bool "Support passthrough mode"
203 default BUSYBOX_DEFAULT_FEATURE_CPIO_P
204 depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
206 Passthrough mode. Rarely used.
208 config BUSYBOX_CONFIG_FEATURE_CPIO_IGNORE_DEVNO
209 bool "Support --ignore-devno like GNU cpio"
210 default BUSYBOX_DEFAULT_FEATURE_CPIO_IGNORE_DEVNO
211 depends on BUSYBOX_CONFIG_FEATURE_CPIO_O && BUSYBOX_CONFIG_LONG_OPTS
213 Optionally ignore device numbers when creating archives.
215 config BUSYBOX_CONFIG_FEATURE_CPIO_RENUMBER_INODES
216 bool "Support --renumber-inodes like GNU cpio"
217 default BUSYBOX_DEFAULT_FEATURE_CPIO_RENUMBER_INODES
218 depends on BUSYBOX_CONFIG_FEATURE_CPIO_O && BUSYBOX_CONFIG_LONG_OPTS
220 Optionally renumber inodes when creating archives.
221 config BUSYBOX_CONFIG_DPKG
223 default BUSYBOX_DEFAULT_DPKG
224 select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
226 dpkg is a medium-level tool to install, build, remove and manage
229 This implementation of dpkg has a number of limitations,
230 you should use the official dpkg if possible.
231 config BUSYBOX_CONFIG_DPKG_DEB
232 bool "dpkg-deb (30 kb)"
233 default BUSYBOX_DEFAULT_DPKG_DEB
234 select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
236 dpkg-deb unpacks and provides information about Debian archives.
238 This implementation of dpkg-deb cannot pack archives.
240 Unless you have a specific application which requires dpkg-deb,
242 config BUSYBOX_CONFIG_GZIP
244 default BUSYBOX_DEFAULT_GZIP
246 gzip is used to compress files.
247 It's probably the most widely used UNIX compression program.
249 config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
250 bool "Enable long options"
251 default BUSYBOX_DEFAULT_FEATURE_GZIP_LONG_OPTIONS
252 depends on BUSYBOX_CONFIG_GZIP && BUSYBOX_CONFIG_LONG_OPTS
254 config BUSYBOX_CONFIG_GZIP_FAST
255 int "Trade memory for speed (0:small,slow - 2:fast,big)"
256 default BUSYBOX_DEFAULT_GZIP_FAST
258 depends on BUSYBOX_CONFIG_GZIP
260 Enable big memory options for gzip.
261 0: small buffers, small hash-tables
262 1: larger buffers, larger hash-tables
263 2: larger buffers, largest hash-tables
264 Larger models may give slightly better compression
266 config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
267 bool "Enable compression levels"
268 default BUSYBOX_DEFAULT_FEATURE_GZIP_LEVELS
269 depends on BUSYBOX_CONFIG_GZIP
271 Enable support for compression levels 4-9. The default level
272 is 6. If levels 1-3 are specified, 4 is used.
273 If this option is not selected, -N options are ignored and -6
276 config BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
277 bool "Enable decompression"
278 default BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS
279 depends on BUSYBOX_CONFIG_GZIP || BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT
281 Enable -d (--decompress) and -t (--test) options for gzip.
282 This will be automatically selected if gunzip or zcat is
284 config BUSYBOX_CONFIG_LZOP
286 default BUSYBOX_DEFAULT_LZOP
288 Lzop compression/decompresion.
290 config BUSYBOX_CONFIG_UNLZOP
291 bool "unlzop (13 kb)"
292 default BUSYBOX_DEFAULT_UNLZOP # INCOMPAT: upstream lzop does not provide such tool
296 config BUSYBOX_CONFIG_LZOPCAT
297 bool "lzopcat (13 kb)"
298 default BUSYBOX_DEFAULT_LZOPCAT # INCOMPAT: upstream lzop does not provide such tool
302 config BUSYBOX_CONFIG_LZOP_COMPR_HIGH
303 bool "lzop compression levels 7,8,9 (not very useful)"
304 default BUSYBOX_DEFAULT_LZOP_COMPR_HIGH
305 depends on BUSYBOX_CONFIG_LZOP || BUSYBOX_CONFIG_UNLZOP || BUSYBOX_CONFIG_LZOPCAT
307 High levels (7,8,9) of lzop compression. These levels
308 are actually slower than gzip at equivalent compression ratios
309 and take up 3.2K of code.
310 config BUSYBOX_CONFIG_RPM
312 default BUSYBOX_DEFAULT_RPM
314 Mini RPM applet - queries and extracts RPM packages.
315 config BUSYBOX_CONFIG_RPM2CPIO
316 bool "rpm2cpio (21 kb)"
317 default BUSYBOX_DEFAULT_RPM2CPIO
319 Converts a RPM file into a CPIO archive.
320 config BUSYBOX_CONFIG_TAR
322 default BUSYBOX_DEFAULT_TAR
324 tar is an archiving program. It's commonly used with gzip to
325 create compressed archives. It's probably the most widely used
326 UNIX archive program.
328 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
329 bool "Enable long options"
330 default BUSYBOX_DEFAULT_FEATURE_TAR_LONG_OPTIONS
331 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_LONG_OPTS
333 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
334 bool "Enable -c (archive creation)"
335 default BUSYBOX_DEFAULT_FEATURE_TAR_CREATE
336 depends on BUSYBOX_CONFIG_TAR
338 config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
339 bool "Autodetect compressed tarballs"
340 default BUSYBOX_DEFAULT_FEATURE_TAR_AUTODETECT
341 depends on BUSYBOX_CONFIG_TAR && (BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z || BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ || BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ)
343 With this option tar can automatically detect compressed
344 tarballs. Currently it works only on files (not pipes etc).
346 config BUSYBOX_CONFIG_FEATURE_TAR_FROM
347 bool "Enable -X (exclude from) and -T (include from) options"
348 default BUSYBOX_DEFAULT_FEATURE_TAR_FROM
349 depends on BUSYBOX_CONFIG_TAR
351 If you enable this option you'll be able to specify
352 a list of files to include or exclude from an archive.
354 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
355 bool "Support old tar header format"
356 default BUSYBOX_DEFAULT_FEATURE_TAR_OLDGNU_COMPATIBILITY
357 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
359 This option is required to unpack archives created in
360 the old GNU format; help to kill this old format by
361 repacking your ancient archives with the new format.
363 config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
364 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
365 default BUSYBOX_DEFAULT_FEATURE_TAR_OLDSUN_COMPATIBILITY
366 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
368 This option is required to unpack archives created by some old
369 version of Sun's tar (it was calculating checksum using signed
370 arithmetic). It is said to be fixed in newer Sun tar, but "old"
371 tarballs still exist.
373 config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
374 bool "Support GNU tar extensions (long filenames)"
375 default BUSYBOX_DEFAULT_FEATURE_TAR_GNU_EXTENSIONS
376 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
378 config BUSYBOX_CONFIG_FEATURE_TAR_TO_COMMAND
379 bool "Support writing to an external program (--to-command)"
380 default BUSYBOX_DEFAULT_FEATURE_TAR_TO_COMMAND
381 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
383 If you enable this option you'll be able to instruct tar to send
384 the contents of each extracted file to the standard input of an
387 config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
388 bool "Enable use of user and group names"
389 default BUSYBOX_DEFAULT_FEATURE_TAR_UNAME_GNAME
390 depends on BUSYBOX_CONFIG_TAR
392 Enable use of user and group names in tar. This affects contents
393 listings (-t) and preserving permissions when unpacking (-p).
396 config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME
397 bool "Enable -m (do not preserve time) GNU option"
398 default BUSYBOX_DEFAULT_FEATURE_TAR_NOPRESERVE_TIME
399 depends on BUSYBOX_CONFIG_TAR
401 config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
402 bool "Support extracting SELinux labels"
403 default BUSYBOX_DEFAULT_FEATURE_TAR_SELINUX
404 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX
406 With this option busybox supports restoring SELinux labels
407 when extracting files from tar archives.
408 config BUSYBOX_CONFIG_UNZIP
410 default BUSYBOX_DEFAULT_UNZIP
412 unzip will list or extract files from a ZIP archive,
413 commonly found on DOS/WIN systems. The default behavior
414 (with no options) is to extract the archive into the
417 config BUSYBOX_CONFIG_FEATURE_UNZIP_CDF
418 bool "Read and use Central Directory data"
419 default BUSYBOX_DEFAULT_FEATURE_UNZIP_CDF
420 depends on BUSYBOX_CONFIG_UNZIP
422 If you know that you only need to deal with simple
423 ZIP files without deleted/updated files, SFX archives etc,
424 you can reduce code size by unselecting this option.
425 To support less trivial ZIPs, say Y.
427 config BUSYBOX_CONFIG_FEATURE_UNZIP_BZIP2
428 bool "Support compression method 12 (bzip2)"
429 default BUSYBOX_DEFAULT_FEATURE_UNZIP_BZIP2
430 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
432 config BUSYBOX_CONFIG_FEATURE_UNZIP_LZMA
433 bool "Support compression method 14 (lzma)"
434 default BUSYBOX_DEFAULT_FEATURE_UNZIP_LZMA
435 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
437 config BUSYBOX_CONFIG_FEATURE_UNZIP_XZ
438 bool "Support compression method 95 (xz)"
439 default BUSYBOX_DEFAULT_FEATURE_UNZIP_XZ
440 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
442 config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
443 bool "Optimize lzma for speed"
444 default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
445 depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA
447 This option reduces decompression time by about 25% at the cost of