From 63c8802c824c81c0f797de30fb46f3fe2549405b Mon Sep 17 00:00:00 2001 From: cjep Date: Tue, 31 Dec 2002 17:42:32 +0000 Subject: 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). --- mk/bulk/mksandbox | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mk') 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 -- cgit v1.2.3