summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorcjep <cjep>2002-12-31 17:42:32 +0000
committercjep <cjep>2002-12-31 17:42:32 +0000
commit63c8802c824c81c0f797de30fb46f3fe2549405b (patch)
tree182cc5b4bde4673fd17d497c86ac813d4c1e6427 /mk
parentb16a442ed7c3db37d322332a912650bdf707276a (diff)
downloadpkgsrc-63c8802c824c81c0f797de30fb46f3fe2549405b.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).
Diffstat (limited to 'mk')
-rwxr-xr-xmk/bulk/mksandbox11
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