summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-08-12 09:55:35 +0000
committeragc <agc@pkgsrc.org>2002-08-12 09:55:35 +0000
commitc57f1d48cf4e1731373a0dc77ec42132e0853968 (patch)
tree668a4ac809220cdffd44f255ffba5ac1f76f2332 /mk
parentc2edb365bcb441930b2c9314e4a7b9aa360409e6 (diff)
downloadpkgsrc-c57f1d48cf4e1731373a0dc77ec42132e0853968.tar.gz
Also null-mount /var from inside the sandbox
Diffstat (limited to 'mk')
-rwxr-xr-xmk/bulk/mksandbox5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox
index c8e0844ed7e..8624df14351 100755
--- a/mk/bulk/mksandbox
+++ b/mk/bulk/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.2 2002/08/07 12:14:12 agc Exp $
+# $NetBSD: mksandbox,v 1.3 2002/08/12 09:55:35 agc Exp $
#
#
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
@@ -157,7 +157,8 @@ for d in /bin \
/usr/libexec \
/usr/lkm \
/usr/share \
- /usr/sbin; do \
+ /usr/sbin \
+ /var; do \
$mkdirprog $sandbox$d; \
$mountprog -r -t null $d $sandbox$d; \
done