Bug 580556 - request for libguestfs to support .txz tarballs
Summary: request for libguestfs to support .txz tarballs
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: All
low
low
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-08 14:06 UTC by Eric Blake
Modified: 2010-04-13 21:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-13 21:30:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Eric Blake 2010-04-08 14:06:49 UTC
Description of problem:
libguestfs has the tar-{in,out} and tgz-{in,out} commands for working with uncompressed and gzip-compressed tarballs.  However, the xz tool (lzma compression) tends to have smaller disk space and comparable or even faster decompression.  Therefore, it would make sense to have txz-{in,out} commands to natively support .xz compression.

Version-Release number of selected component (if applicable):
$ guestfish --version
guestfish 1.0.85

How reproducible:
Always.

Steps to Reproduce:
1. guestfish -x alloc output.img 14M : run : \
  sfdiskM /dev/sda , : \
  mkfs ext2 /dev/sda1 : \
  mount /dev/sda1 / : \
  txz-in something.tar.xz /

Actual results:
txz-in something.tar.xz
txz-in: unknown command

Expected results:
Create a disk image from the .xz-compressed tarball.

Additional info:
Workaround: Manually decompress the tarball, and fall back to tar-in instead of the requested txz-in.

Comment 2 Richard W.M. Jones 2010-04-13 21:30:21 UTC
Fixed upstream.


Note You need to log in before you can comment on or make changes to this bug.