summaryrefslogtreecommitdiff
path: root/localpdebuild
blob: 4842db9da186df682127b1548d11e7139d930c4a (plain)
  1. #!/bin/sh
  2. if [ $# -eq 0 ]; then
  3. echo "Usage: $(basename $0) POOL"
  4. echo ""
  5. echo "Example: $(basename $0) sarge_with_hacks"
  6. exit 1
  7. fi
  8. buildhost=`hostname -s`
  9. pool=$1
  10. pdebuild \
  11. --buildresult $HOME/pub/debian-$buildhost/pbuild-$pool/ \
  12. -- \
  13. --basetgz /var/cache/pbuilder/base-$pool.tgz \
  14. --buildplace /var/cache/pbuilder/build-$pool/ \
  15. --aptcache /var/cache/pbuilder/aptcache-$pool/