mirror of https://gitee.com/openkylin/libvirt.git
docs: compiling.html: pass -d to xz to decompress
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>
This commit is contained in:
parent
66ee13809c
commit
1423c1d8bc
|
@ -14,7 +14,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<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
|
$ cd libvirt-x.x.x
|
||||||
$ meson build</pre>
|
$ meson build</pre>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue