aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-checkparams4
-rwxr-xr-xpbuilder-updatebuildenv5
2 files changed, 9 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 07534ba..15f26cc 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -217,6 +217,10 @@ while [ -n "$1" ]; do
ALLOWUNTRUSTED=yes;
shift;
;;
+ --debdelta)
+ DEBDELTA=yes;
+ shift;
+ ;;
--keyring)
APTKEYRINGS[${#APTKEYRINGS[@]}]="$2";
shift; shift;
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index 13dd043..713ad6e 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -41,6 +41,11 @@ log "I: Refreshing the base.tgz "
log "I: upgrading packages"
$CHROOTEXEC /usr/bin/apt-get -q update
+if [ "$DEBDELTA" = "yes" ]; then
+ log "I: Using debdelta-upgrade for available deltas"
+ $CHROOTEXEC /usr/bin/debdelta-upgrade
+fi
+
case "$(readlink -e "$PBUILDERSATISFYDEPENDSCMD")" in
*-aptitude)
EXTRAPACKAGES="$EXTRAPACKAGES aptitude"