aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-25 23:05:33 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-25 23:05:33 +0200
commit27cab84c6d598d5bb53bf136d78e7a2b0e8e0269 (patch)
tree07ad7116cd429dda1789aa92a6d1fdea460ca33e /gnu
parentba47851fac503f005d2bc496161638c46cc29ffc (diff)
downloadguix-27cab84c6d598d5bb53bf136d78e7a2b0e8e0269.tar
guix-27cab84c6d598d5bb53bf136d78e7a2b0e8e0269.tar.gz
gnu: vm: Register the profile as a GC root.
* gnu/system/vm.scm (system-qemu-image): Register PROFILE as a GC root.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/vm.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 0cab3ced17..dd97e5ee0d 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -515,7 +515,9 @@ You can log in as 'root' with no password.
("/etc/login.defs" -> "/dev/null")
("/etc/pam.d" -> ,pam.d)
("/etc/profile" -> ,bashrc)
- ("/etc/issue" -> ,issue)))
+ ("/etc/issue" -> ,issue)
+ (directory "/var/nix/gcroots")
+ ("/var/nix/gcroots/default-profile" -> ,profile)))
(out (derivation->output-path
(package-derivation store mingetty)))
(boot (add-text-to-store store "boot"