summaryrefslogtreecommitdiff
path: root/localpbuilder-login
blob: a41f368910e5af5b2071ead438981109949e0e09 (plain)
  1. #!/bin/sh
  2. if [ $# -eq 0 ]; then
  3. echo "Usage: $(basename $0) POOL [pbuilderopts]"
  4. echo ""
  5. echo "Example: $(basename $0) sarge_with_hacks"
  6. exit 1
  7. fi
  8. pool=$1
  9. shift
  10. basetgz="/var/cache/pbuilder/base-$pool.tgz"
  11. buildplace="/var/cache/pbuilder/build-$pool/"
  12. aptcache="/var/cache/pbuilder/aptcache-$pool/"
  13. sudo pbuilder --login \
  14. --basetgz "$basetgz" \
  15. --buildplace "$buildplace" \
  16. --aptcache "$aptcache" \
  17. $@