diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-11 17:00:12 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-11 17:00:12 +0000 |
commit | 7c54f1603f0c793bfc1f191aaa0ec71441038515 (patch) | |
tree | fca233b8416294da7404ccf5ca203ed23f5aeebf /configure.ac | |
parent | 07cdfb09fb74cf8e1c3c70c070ad20b5d1119fcf (diff) | |
download | guix-7c54f1603f0c793bfc1f191aaa0ec71441038515.tar.gz |
* Do chroot builds in a private namespace. This means that all the
bind-mounts we do are only visible to the builder process and its children. So accidentally doing "rm -rf" on the chroot directory won't wipe out /nix/store and other bind-mounted directories anymore. Also, the bind-mounts in the private namespace disappear automatically when the builder exits.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e666b8c474..7b8c36f1e8 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,7 @@ AC_LANG_POP(C++) # Check for chroot support (requires chroot() and bind mounts). AC_CHECK_FUNCS([chroot]) +AC_CHECK_HEADERS([sched.h], [], [], []) AC_CHECK_HEADERS([sys/param.h], [], [], []) AC_CHECK_HEADERS([sys/mount.h], [], [], [#ifdef HAVE_SYS_PARAM_H |