aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-13 18:02:46 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-10-13 18:02:46 +0000
commit9688b22bc39f3bff45dc1b0965fc0ad9e4260752 (patch)
treea434950a0237a8f5fa496a564cae4ae3e8dcf173 /pbuilder-updatebuildenv
parent5cd1f5e92353bb228a422222d998e7fd6fd0a7ae (diff)
downloadpbuilder-9688b22bc39f3bff45dc1b0965fc0ad9e4260752.tar
pbuilder-9688b22bc39f3bff45dc1b0965fc0ad9e4260752.tar.gz
always load hooks just after extracting the build place, and unload them when cleaning up
So, no need to load&run&unload everywhere as it is now. Gbp-Dch: Short
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv2
1 files changed, 0 insertions, 2 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index df5014e..f745cf4 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -36,7 +36,6 @@ echobacktime
extractbuildplace
$TRAP umountproc_cleanbuildplace_trap exit sighup
-loadhooks
log "I: Refreshing the base.tgz "
log "I: upgrading packages"
$CHROOTEXEC /usr/bin/apt-get -q update
@@ -120,7 +119,6 @@ fi
$TRAP umountproc_cleanbuildplace_trap exit sighup
executehooks "E"
-unloadhooks
umountproc
$CHROOTEXEC /usr/bin/apt-get clean || true