summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-17 22:38:31 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-17 23:18:32 +0200
commit9d0b9c7c6c0b0d45653dea80b499314ea415d3c7 (patch)
treed2c3f6cce1c32809854508f00d7c97bf595fa7a6 /Makefile.am
parentf0da92cb42f99cddadd9cea373758355cb7c6351 (diff)
downloadguix-9d0b9c7c6c0b0d45653dea80b499314ea415d3c7.tar.gz
maint: Provide the configuration file in the VM image.
This fixes a bug introduced in 362bcdb1b076c8c46f71781add56dfbe532736dc
whereby the VM image would no longer contain /etc/config.scm, contrary
to what the manual says.

Reported by dbdude on #guix.

* Makefile.am (release): Pass '--save-provenance' to 'guix system
vm-image'.
* doc/guix.texi (Running Guix in a VM): Adjust file name accordingly.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index afbf4eb20a..d9d7ffd6c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -818,6 +818,7 @@ release: dist-with-updated-version
 	for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do					\
 	  image=`$(top_builddir)/pre-inst-env						\
 	    guix system vm-image $(GUIX_SYSTEM_VM_IMAGE_FLAGS)				\
+	    --save-provenance								\
 	    --system=$$system --fallback						\
 	    gnu/system/examples/vm-image.tmpl` ;					\
 	  if [ ! -f "$$image" ] ; then							\