aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-02-08 00:18:25 +0100
committerLudovic Courtès <ludo@gnu.org>2014-02-08 00:18:25 +0100
commitea0e9ce2e6d0c99106c47ee32203b92933a837de (patch)
tree9d578ad2496679c6828ffebc0e000260cb5c5bf7 /gnu/system
parent7a03af707c1a77a660f3d45686587c87c11c7562 (diff)
downloadgnu-guix-ea0e9ce2e6d0c99106c47ee32203b92933a837de.tar
gnu-guix-ea0e9ce2e6d0c99106c47ee32203b92933a837de.tar.gz
gnu: Move root's home directory to /root.
* gnu/system.scm (operating-system-derivation): Change root's 'home-directory' to "/root". * gnu/system/vm.scm (operating-system-default-contents): Add /root.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/vm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 1bdd2c6e92..dea7d0599b 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -485,6 +485,7 @@ basic contents of the root file system of OS."
(directory "/tmp")
(directory "/var/nix/profiles/per-user/root" 0 0)
+ (directory "/root" 0 0) ; an exception
,@(append-map user-directories
(operating-system-users os))))))