~ruther/guix-local

27cab84c6d598d5bb53bf136d78e7a2b0e8e0269 — Ludovic Courtès 12 years ago ba47851
gnu: vm: Register the profile as a GC root.

* gnu/system/vm.scm (system-qemu-image): Register PROFILE as a GC root.
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/system/vm.scm
M gnu/system/vm.scm => gnu/system/vm.scm +3 -1
@@ 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"