aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authorRitesh Raj Sarraf <rrs@debian.org>2015-10-03 16:09:43 +0530
committerMattia Rizzolo <mattia@mapreri.org>2015-10-04 08:21:44 +0000
commit015fe5bc9e7f373013b16b18f09f109646af1787 (patch)
tree866520f2860305602a12baf8743350bbf4b75d8b /pbuilder-updatebuildenv
parentb15f043056c5cd4eb5f70f3f68e25bdd89f14f93 (diff)
downloadpbuilder-015fe5bc9e7f373013b16b18f09f109646af1787.tar
pbuilder-015fe5bc9e7f373013b16b18f09f109646af1787.tar.gz
Add debdelta support, enable optionally via pbuilderrc or the command line.
Closes: #602711 Signed-off-by: Ritesh Raj Sarraf <rrs@debian.org>
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv5
1 files changed, 5 insertions, 0 deletions
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"