diff options
author | Jonas Smedegaard <dr@jones.dk> | 2005-07-20 21:09:34 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2005-07-20 21:09:34 +0000 |
commit | 652b170393f64d27eea1abbce46c176ae3b13766 (patch) | |
tree | e7c5500e29b108265f905b95f297d1942a966944 | |
parent | 89cd42f1703e9164ce7d4191f2ab679347aecbef (diff) |
Add new script localpbuilder-update to update local pbuild environments.
-rwxr-xr-x | localpbuilder-update | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/localpbuilder-update b/localpbuilder-update new file mode 100755 index 0000000..32a7c82 --- /dev/null +++ b/localpbuilder-update @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ $# -eq 0 ]; then + echo "Usage: $(basename $0) POOL" + echo "" + echo "Example: $(basename $0) sarge_with_hacks" + exit 1 +fi + +pool=$1 + +sudo pbuilder update \ + --basetgz /var/cache/pbuilder/base-$pool.tgz \ + --buildplace /var/cache/pbuilder/build-$pool/ \ + --aptcache /var/cache/pbuilder/aptcache-$pool/ |