aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbuilder-modules1
-rw-r--r--pbuilder.86
2 files changed, 7 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index de967b3..836083f 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -531,6 +531,7 @@ function extractbuildplace () {
log "W: Could not create compatibility symlink because /tmp/buildd exists and it is not a directory"
fi
fi
+ executehooks "H"
}
function echobacktime () {
diff --git a/pbuilder.8 b/pbuilder.8
index 9e2a5ed..0a915c1 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -326,6 +326,12 @@ in
.B "--create"
target.
+.B "H<digit><digit><whatever-else-you-want>"
+is executed just after unpacking the chroot, mounting proc and any bind mount
+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.
+
\" End of hookdir description
.TP