diff options
author | cjep <cjep@pkgsrc.org> | 2002-12-31 17:42:32 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-12-31 17:42:32 +0000 |
commit | 7b08a3ada9a1ab76bfbca01e273c7a389be801f8 (patch) | |
tree | 182cc5b4bde4673fd17d497c86ac813d4c1e6427 | |
parent | 7751a84cdeb294f49bb9143d4e502a0354d75006 (diff) | |
download | pkgsrc-7b08a3ada9a1ab76bfbca01e273c7a389be801f8.tar.gz |
Loopback mount /proc on SunOS. shells/tcsh successfully builds in the sandbox
except for one peculiar thing: bmake does not pick up a definition for CC.
Something is missing (for SunOS).
-rwxr-xr-x | mk/bulk/mksandbox | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox index 863286462a3..71205a3e49b 100755 --- a/mk/bulk/mksandbox +++ b/mk/bulk/mksandbox @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: mksandbox,v 1.16 2002/12/31 15:33:56 cjep Exp $ +# $NetBSD: mksandbox,v 1.17 2002/12/31 17:42:32 cjep Exp $ # # # Copyright (c) 2002 Alistair G. Crooks. All rights reserved. @@ -97,7 +97,7 @@ SunOS) mountprog=/sbin/mount paxprog=/bin/pax sedprog=/usr/xpg4/bin/sed - sandboxDirs="/bin /sbin /lib /usr/X11R6 /usr/bin /usr/ccs /usr/games /usr/include /usr/lib /usr/openwin /usr/share /usr/sbin /usr/ucb /usr/xpg4 /var/mail" + sandboxDirs="/bin /sbin /kernel /lib /proc /usr/X11R6 /usr/bin /usr/ccs /usr/games /usr/include /usr/lib /usr/openwin /usr/share /usr/sbin /usr/ucb /usr/xpg4 /var/mail" ;; *) echo "Unknown Operating System ($opsys) - good luck" @@ -266,6 +266,13 @@ EOS chmod +x $sandbox_script +case $opsys in +SunOS) + $cpprog /etc/mnttab $sandbox/etc/mnttab + ;; +*) +esac + echo "Sandbox creation is now complete" exit 0 |