From 546b3f3fce38874239161484b74aa90560a399dc Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 10 Jun 2013 16:08:05 +0100 Subject: [PATCH] txz-out: Fix this API to produce xz files again (RHBZ#972775). Commit 864ef706a84c7c87a62f776d4b2e82a6f959ae14 (in Aug 2012) broke the deprecated txz-out API. Because of a thinko during this commit, instead of producing xz files it produces bzip2 files. Fix this API again. Thanks: Bo Fan / Red Hat QA team. --- daemon/tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/tar.c b/daemon/tar.c index 461e529ce3..51f82f80fe 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -405,5 +405,5 @@ int do_txz_out (const char *dir) { optargs_bitmask = GUESTFS_TAR_OUT_COMPRESS_BITMASK; - return do_tar_out (dir, "bzip2", 0, NULL); + return do_tar_out (dir, "xz", 0, NULL); }