diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-13 18:40:32 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-13 18:40:32 +0000 |
commit | 0c3b8efd872abc67d2aec8e2ea9bc92ab24a7ede (patch) | |
tree | ad97a3165e5ae5017a63c68416ba295d56a53afe | |
parent | c4dd619a55e20a3e375a363550a2f6c4b0de0b32 (diff) | |
download | pbuilder-0c3b8efd872abc67d2aec8e2ea9bc92ab24a7ede.tar pbuilder-0c3b8efd872abc67d2aec8e2ea9bc92ab24a7ede.tar.gz |
add hook type I: it runs after successfully build a package, after copying back the build results
Closes: #652527
-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 |