diff options
author | Ritesh Raj Sarraf <rrs@debian.org> | 2015-10-03 16:09:43 +0530 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-04 08:21:44 +0000 |
commit | 015fe5bc9e7f373013b16b18f09f109646af1787 (patch) | |
tree | 866520f2860305602a12baf8743350bbf4b75d8b /pbuilder-updatebuildenv | |
parent | b15f043056c5cd4eb5f70f3f68e25bdd89f14f93 (diff) | |
download | pbuilder-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-x | pbuilder-updatebuildenv | 5 |
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" |