diff options
-rwxr-xr-x | pbuilder-buildpackage | 1 | ||||
-rw-r--r-- | pbuilder.8 | 4 |
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 @@ -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 |