diff options
Diffstat (limited to 'pbuildd')
-rw-r--r-- | pbuildd/Makefile | 11 | ||||
-rw-r--r-- | pbuildd/buildd-config.sh | 6 | ||||
-rwxr-xr-x | pbuildd/buildd.sh | 2 |
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 |