diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-27T22·17+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-27T22·17+0100 |
commit | 3fd01b171a74d28dc8e48b9ee5f2d0e9a3915fb8 (patch) | |
tree | 42620e16ae70c2f98354f7f3bd316b0473f7030e /src/libstore/globals.cc | |
parent | c9f6232304558cbdafb14e13e316e539f5bed72e (diff) |
Set up a minimal /dev in chroots
Not bind-mounting the /dev from the host also solves the problem with /dev/shm being a symlink to something not in the chroot.
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index ccf8d4cc5e65..af2fdfd57ace 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -42,7 +42,6 @@ Settings::Settings() useSubstitutes = true; useChroot = false; useSshSubstituter = false; - dirsInChroot.insert("/dev"); dirsInChroot.insert("/dev/pts"); impersonateLinux26 = false; keepLog = true; |