aboutsummaryrefslogtreecommitdiff
path: root/pbuildd/buildd-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pbuildd/buildd-config.sh')
-rw-r--r--pbuildd/buildd-config.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/pbuildd/buildd-config.sh b/pbuildd/buildd-config.sh
new file mode 100644
index 0000000..205ecef
--- /dev/null
+++ b/pbuildd/buildd-config.sh
@@ -0,0 +1,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
+} \ No newline at end of file