mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Do not compress the (already compressed) VM qcow2 images.
The qcow2 format supports compression, and the qcow2 type supported by 'guix system image' produces compressed qcow2 images. * Makefile.am (release): Do not re-compress the qcow2 VM images with xz. * doc/guix.texi (Running Guix in a VM): Adjust VM image URL.
This commit is contained in:
parent
6e71e71952
commit
b1b41a23f4
2 changed files with 2 additions and 4 deletions
|
@ -900,9 +900,7 @@ release: dist-with-updated-version all
|
||||||
echo "failed to produced Guix VM image for $$system" >&2 ; \
|
echo "failed to produced Guix VM image for $$system" >&2 ; \
|
||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" ; \
|
cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2"; \
|
||||||
mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" \
|
|
||||||
"$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz" ; \
|
|
||||||
done
|
done
|
||||||
@echo
|
@echo
|
||||||
@echo "Congratulations! All the release files are now in $(releasedir)."
|
@echo "Congratulations! All the release files are now in $(releasedir)."
|
||||||
|
|
|
@ -33491,7 +33491,7 @@ Whether or not the droplet should be created with IPv6 networking.
|
||||||
@cindex virtual machine
|
@cindex virtual machine
|
||||||
To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image
|
To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image
|
||||||
distributed at
|
distributed at
|
||||||
@url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2.xz}.
|
@url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2}.
|
||||||
This image is a compressed image in QCOW format. You will first need to
|
This image is a compressed image in QCOW format. You will first need to
|
||||||
decompress with @command{xz -d}, and then you can pass it to an emulator such
|
decompress with @command{xz -d}, and then you can pass it to an emulator such
|
||||||
as QEMU (see below for details).
|
as QEMU (see below for details).
|
||||||
|
|
Loading…
Reference in a new issue