summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-06-23 23:30:28 +0000
committerhubertf <hubertf@pkgsrc.org>2001-06-23 23:30:28 +0000
commit3b198e82c0efed21cdb84b68b63080a52238d020 (patch)
treecf884423946f4ede668a3bfa3395bed7568d56ec /mk
parent81cdec4cf4c59c8a5d1a8e6d2c00b000ea46b233 (diff)
downloadpkgsrc-3b198e82c0efed21cdb84b68b63080a52238d020.tar.gz
A tiny example how I start my sandbox builds.
Nothing fancy, probably needs adjusting to other people's environments. XXX the list of things that need to be setup in the sandbox should XXX probably be moved to Packages.txt...
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/do-sandbox-build19
1 files changed, 19 insertions, 0 deletions
diff --git a/mk/bulk/do-sandbox-build b/mk/bulk/do-sandbox-build
new file mode 100644
index 00000000000..2c60d8428cd
--- /dev/null
+++ b/mk/bulk/do-sandbox-build
@@ -0,0 +1,19 @@
+#!/bin/sh
+# $NetSBD$
+
+#
+# Script to start a sandbox build
+#
+
+#
+# Important files in sandbox (after extracting sets):
+# * kernel (/netbsd)
+# * /etc/resolv.conf
+# * /dev/*
+# * working(!) mail config (hostname, sendmail.cf)
+# * /etc/localtime (security/snmpd)
+# * /etc/resolv.conf (security/snmpd)
+# * /usr/src (sysutils/aperture, net/ppp-mppe)
+#
+
+chroot /usr/sandbox sh -c 'cd /usr/cvs.local/pkgsrc/ ; sh mk/bulk/build'