aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-buildpackage1
-rw-r--r--pbuilder.84
2 files changed, 5 insertions, 0 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 90931a3..5e8ef08 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -201,6 +201,7 @@ if [ -d "${BUILDRESULT}" ]; then
log "I: Trying to save additional result ${FILE}"
cp -a "${BUILDPLACE}$BUILDDIR/"*"/${FILE}" "${BUILDRESULT}" || true
done
+ executehooks "I"
else
log "E: BUILDRESULT=[$BUILDRESULT] is not a directory."
fi
diff --git a/pbuilder.8 b/pbuilder.8
index 0a915c1..c8be5b1 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -332,6 +332,10 @@ specified in BINDMOUNTS. It's executed for every target that requires the
unpacked chroot. It's useful if you want to dynamically change the chroot guts
before anything starts using it.
+.B "I<digit><digit><whatever-else-you-want>"
+is executed after build system finishes building, successfully, after copying
+back the build results.
+
\" End of hookdir description
.TP