diff options
author | cjep <cjep@pkgsrc.org> | 2003-04-13 11:28:01 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2003-04-13 11:28:01 +0000 |
commit | 7dfa1c9d90b742147093046f8c85fe8375bf6646 (patch) | |
tree | a22d07609d484939ab856aea2e306f2719308548 /mk/bulk/mksandbox | |
parent | b9ef666852262750a4517e49da99616a51475927 (diff) | |
download | pkgsrc-7dfa1c9d90b742147093046f8c85fe8375bf6646.tar.gz |
PR#21087. Some files are missing in bulk build sandboxes created by
mksandbox. From Brook G. Milligan.
Diffstat (limited to 'mk/bulk/mksandbox')
-rwxr-xr-x | mk/bulk/mksandbox | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox index 5f8506d7eff..2566f0ef0a2 100755 --- a/mk/bulk/mksandbox +++ b/mk/bulk/mksandbox @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: mksandbox,v 1.18 2002/12/31 17:46:12 cjep Exp $ +# $NetBSD: mksandbox,v 1.19 2003/04/13 11:28:01 cjep Exp $ # # # Copyright (c) 2002 Alistair G. Crooks. All rights reserved. @@ -213,6 +213,14 @@ $mkdirprog $sandbox/var/games $chownprog games:games $sandbox/var/games $chmodprog 2775 $sandbox/var/games +echo "Making /var/run and /var/run/utmp(x) in $sandbox" +$mkdirprog $sandbox/var/run +cp /dev/null $sandbox/var/run/utmp +cp /dev/null $sandbox/var/run/utmpx + +echo "Making /var/spool/mqueue in $sandbox" +$mkdirprog $sandbox/var/spool/mqueue + echo "Mount $src from $sandbox" $mkdirprog $sandbox/usr/src $mountprog $mountflags -r $src $sandbox/usr/src |