aboutsummaryrefslogtreecommitdiff
path: root/pbuildd
diff options
context:
space:
mode:
authordancer <dancer>2002-12-30 04:40:11 +0000
committerdancer <dancer>2002-12-30 04:40:11 +0000
commitb28d05fbb95a052fb8a75a4e6068d2010a281034 (patch)
tree6b0eaf1dcc488cf5c65884e5679abedf5792da42 /pbuildd
parentcfa7e0e6a5344369a7c8831c956102deff40c619 (diff)
downloadpbuilder-b28d05fbb95a052fb8a75a4e6068d2010a281034.tar
pbuilder-b28d05fbb95a052fb8a75a4e6068d2010a281034.tar.gz
add some files.
Diffstat (limited to 'pbuildd')
-rw-r--r--pbuildd/Makefile11
-rw-r--r--pbuildd/buildd-config.sh6
-rwxr-xr-xpbuildd/buildd.sh2
3 files changed, 15 insertions, 4 deletions
diff --git a/pbuildd/Makefile b/pbuildd/Makefile
new file mode 100644
index 0000000..683b2e3
--- /dev/null
+++ b/pbuildd/Makefile
@@ -0,0 +1,11 @@
+PBUILDDDIR=/usr/share/doc/pbuilder/examples/pbuildd/
+
+clean:
+ -rm *~
+
+install:
+ install -d $(DESTDIR)$(PBUILDDDIR)
+ install -d $(DESTDIR)$(PBUILDDDIR)/hookdir
+ install -m 755 -o root -g root buildd.sh $(DESTDIR)$(PBUILDDDIR)
+ install -m 644 -o root -g root buildd-config.sh $(DESTDIR)/etc/pbuilder/
+ install -m 755 -o root -g root hookdir/A10dpkg-l.sh $(DESTDIR)$(PBUILDDDIR)/hookdir
diff --git a/pbuildd/buildd-config.sh b/pbuildd/buildd-config.sh
index 205ecef..bdfe2fe 100644
--- a/pbuildd/buildd-config.sh
+++ b/pbuildd/buildd-config.sh
@@ -1,8 +1,8 @@
# this is the configuration for buildd-pbuilder.
-BASEDIRECTORY=/mnt/buildd
-MIRROR=202.23.147.34
-HOOKDIR=/mnt/buildd/pbuilder-buildd/hookdir
+BASEDIRECTORY=/var/cache/pbuilder/pbuildd/
+MIRROR=ftp.debian.org
+HOOKDIR=/usr/share/doc/pbuilder/examples/pbuildd/hookdir
ROOTCOMMAND=sudo
# the following is one sample:
diff --git a/pbuildd/buildd.sh b/pbuildd/buildd.sh
index 2610ab3..c12a0e5 100755
--- a/pbuildd/buildd.sh
+++ b/pbuildd/buildd.sh
@@ -3,7 +3,7 @@
set -e
-. buildd-config.sh
+. /etc/pbuilder/buildd-config.sh
NOBUILDDEP=${BASEDIRECTORY}/FAILED/NOBUILDDEP
FAILED=${BASEDIRECTORY}/FAILED