aboutsummaryrefslogtreecommitdiff
path: root/pbuildd/buildd-config.sh
blob: 205ecef8576c9ed42f1e861b0bee53bb5c2b4b51 (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=/mnt/buildd
MIRROR=202.23.147.34
HOOKDIR=/mnt/buildd/pbuilder-buildd/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
}