diff options
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index f181b51..fcbf58d 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -54,9 +54,7 @@ if ! ( cd "$BUILDPLACE" && debootstrap "$DISTRIBUTION" . "$MIRRORSITE" "$DEBOOTS fi echo " -> debootstrap finished" -if [ -n "$HOOKDIR" ]; then - loadhooks -fi +loadhooks mkdir -p "$BUILDPLACE/tmp/buildd" echo " -> copying local configuration" @@ -81,10 +79,9 @@ $CHROOTEXEC /usr/bin/apt-get -y dist-upgrade $CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES save_aptcache $CHROOTEXEC /usr/bin/apt-get clean -if [ -n "$HOOKDIR" ]; then - executehooks "X" - unloadhooks -fi + +executehooks "X" +unloadhooks umountproc trap cleanbuildplace exit |