diff options
Diffstat (limited to 'localpdebuild')
-rwxr-xr-x | localpdebuild | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/localpdebuild b/localpdebuild new file mode 100755 index 0000000..4842db9 --- /dev/null +++ b/localpdebuild @@ -0,0 +1,18 @@ +#!/bin/sh + +if [ $# -eq 0 ]; then + echo "Usage: $(basename $0) POOL" + echo "" + echo "Example: $(basename $0) sarge_with_hacks" + exit 1 +fi + +buildhost=`hostname -s` +pool=$1 + +pdebuild \ + --buildresult $HOME/pub/debian-$buildhost/pbuild-$pool/ \ + -- \ + --basetgz /var/cache/pbuilder/base-$pool.tgz \ + --buildplace /var/cache/pbuilder/build-$pool/ \ + --aptcache /var/cache/pbuilder/aptcache-$pool/ |