aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
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-createbuildenv
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-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv2
1 files changed, 0 insertions, 2 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 9600360..15be713 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -81,7 +81,6 @@ if ! ( "${DEBOOTSTRAP}" \
fi
log "I: debootstrap finished"
-loadhooks
mkdir -p "${BUILDPLACE}$BUILDDIR"
@@ -128,7 +127,6 @@ $CHROOTEXEC /usr/bin/apt-get -q -y "${APTGETOPT[@]}" install \
save_aptcache
executehooks "E"
-unloadhooks
umountproc
$CHROOTEXEC /usr/bin/apt-get clean || true
$TRAP cleanbuildplace_trap exit sighup