diff options
author | dancer <dancer> | 2002-02-24 07:57:06 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-02-24 07:57:06 +0000 |
commit | 18651eedb6cc79c55aeaf3c86d57d93feeb7f58e (patch) | |
tree | dadaac67ef53d6bc43c08cb9f9c9a1e4cfd1b544 /pbuilder-createbuildenv | |
parent | d452345203ac424265b65fb905a517f471dafd91 (diff) | |
download | pbuilder-18651eedb6cc79c55aeaf3c86d57d93feeb7f58e.tar pbuilder-18651eedb6cc79c55aeaf3c86d57d93feeb7f58e.tar.gz |
added hooks support for pbuilder build target.
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 |