aboutsummaryrefslogtreecommitdiff
path: root/pbuildd/buildd-config.sh
blob: bdfe2fe948c12f44d95c463ad6a65b23151cc64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# this is the configuration for buildd-pbuilder.

BASEDIRECTORY=/var/cache/pbuilder/pbuildd/
MIRROR=ftp.debian.org
HOOKDIR=/usr/share/doc/pbuilder/examples/pbuildd/hookdir
ROOTCOMMAND=sudo

# the following is one sample:
function waitingroutine () {
    while sleep 1s; do
    	if ps ax | grep "x[l]ock"; then
		# if xlock does exist, break from loop
		break
	fi
    done
}