]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: compiling.html: pass -d to xz to decompress
authorJonathan Watt <jwatt@jwatt.org>
Fri, 13 Nov 2020 13:30:45 +0000 (13:30 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 13 Nov 2020 16:22:43 +0000 (16:22 +0000)
tar on macOS recognizes XZ compression automatically, but that is
not the case for GNU tar (1.32 at least).  On Fedora 33 the current
instructions result in the following error:

  $ xz -c libvirt-6.9.0.tar.xz | tar xvf -
  tar: Archive is compressed. Use -J option
  tar: Error is not recoverable: exiting now

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Jonathan Watt <jwatt@jwatt.org>
docs/compiling.html.in

index c898d163130eb2fc8aa7421e20bd7789ca492311..c2c9d9f0edf8ca6812593ca03a4ce129e26f9129 100644 (file)
@@ -14,7 +14,7 @@
     </p>
 
     <pre>
-$ xz -c libvirt-x.x.x.tar.xz | tar xvf -
+$ xz -dc libvirt-x.x.x.tar.xz | tar xvf -
 $ cd libvirt-x.x.x
 $ meson build</pre>