summaryrefslogtreecommitdiff
path: root/localpbuilder-update
diff options
context:
space:
mode:
Diffstat (limited to 'localpbuilder-update')
-rwxr-xr-xlocalpbuilder-update15
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/