From 183ed7a5ea8df0431b6e5a64fe95146deded3aa9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 23 Nov 2006 16:46:23 +0000 Subject: [PATCH] * Create a symlink to /nix/var/nix/profiles from /nix/var/nix/gcroots/, otherwise garbage collection will end tragically. svn path=/nixu/trunk/; revision=7093 --- test/boot-stage-2-init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/boot-stage-2-init.sh b/test/boot-stage-2-init.sh index aa6f81e5f9b..0c7a105c3a1 100644 --- a/test/boot-stage-2-init.sh +++ b/test/boot-stage-2-init.sh @@ -52,6 +52,8 @@ mkdir -m 0755 -p /nix/var/nix/temproots mkdir -m 0755 -p /var/log +ln -sf /nix/var/nix/profiles /nix/var/nix/gcroots/ + # Ensure that the module tools can find the kernel modules. export MODULE_DIR=@kernel@/lib/modules/