diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-05 15:18:05 -0400 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-05 16:31:06 -0400 |
| commit | b1b41a23f4e48e35bafe282029190bba32cb7218 (patch) | |
| tree | 8456b8560d73a7529e4ac3eaed0aa8f91d92ce78 /Makefile.am | |
| parent | 6e71e719522adec83b49a1533af8b5838479c8fb (diff) | |
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.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index c6028c586ac..d06e1779ca5 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -900,9 +900,7 @@ release: dist-with-updated-version all | |||
| 900 | echo "failed to produced Guix VM image for $$system" >&2 ; \ | 900 | echo "failed to produced Guix VM image for $$system" >&2 ; \ |
| 901 | exit 1 ; \ | 901 | exit 1 ; \ |
| 902 | fi ; \ | 902 | fi ; \ |
| 903 | xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" ; \ | 903 | cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2"; \ |
| 904 | mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" \ | ||
| 905 | "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz" ; \ | ||
| 906 | done | 904 | done |
| 907 | @echo | 905 | @echo |
| 908 | @echo "Congratulations! All the release files are now in $(releasedir)." | 906 | @echo "Congratulations! All the release files are now in $(releasedir)." |
