summaryrefslogtreecommitdiff
path: root/mk/bulk/do-sandbox-build
blob: d827946d414f454360d39da054440047df214a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#	$NetBSD: do-sandbox-build,v 1.4 2001/06/27 11:53:03 hubertf Exp $

#
# Script to start a sandbox build
#

#
# Important files in sandbox (after extracting sets or doing a
# "make distribution DESTDIR=/usr/sandbox" in src/etc):
#  * kernel (/netbsd)
#  * /dev/*
#  * working(!) mail config (hostname, sendmail.cf)
#  * /etc/localtime (security/snmpd)
#  * /etc/resolv.conf (security/snmpd)
#  * /usr/src (sysutils/aperture, net/ppp-mppe)
#
# !!! Don't forget to install X !!!
#

chroot /usr/sandbox sh -c 'cd /usr/cvs.local/pkgsrc/ ; sh mk/bulk/build'