| Summary: | tar xz extract | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Jiri Prchal <jiri.prchal> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.22.x | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
xz archive
archived file |
||
|
Description
Jiri Prchal
2014-12-10 12:11:58 UTC
Please attach the file which you are trying to compress, and the resulting tar.xz. Created attachment 5786 [details]
xz archive
Created attachment 5792 [details]
archived file
(In reply to comment #2) > Created attachment 5786 [details] > xz archive The attached file is not a compressed file. It is an uncompressed tar file. despite its .xz extension The bug is that creation op was only handling gzip/bzip2. Fixed in git now. Thanks! (In reply to comment #5) > The bug is that creation op was only handling gzip/bzip2. Fixed in git now. > Thanks! This patch not work, file is zero size: /mnt/card # tar -cJv -f /akpkg.tar.xz akpkg akpkg/ akpkg/sys.conf BusyBox v1.23.0.git (2014-12-12 08:37:33 CET) multi-call binary. Usage: xz -d [-cf] [FILE]... Decompress FILE (or stdin) -d Decompress -c Write to stdout -f Force /mnt/card # ls -l / total 0 -rw-r--r-- 1 root root 0 Dec 12 09:13 akpkg.tar.xz You need to have a xz compressor installed for that to work. Busybox's "xz" applet only has a decompressor: it will refuse to work without -d option. (In reply to comment #7) > You need to have a xz compressor installed for that to work. > Busybox's "xz" applet only has a decompressor: it will refuse to work without > -d option. Now it works. Thanks |