diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-13 18:12:08 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-13 18:12:08 +0000 |
commit | c4dd619a55e20a3e375a363550a2f6c4b0de0b32 (patch) | |
tree | 2527bdce751c6ea56c6d68da1eafd000ef8c0e48 | |
parent | 9688b22bc39f3bff45dc1b0965fc0ad9e4260752 (diff) | |
download | pbuilder-c4dd619a55e20a3e375a363550a2f6c4b0de0b32.tar pbuilder-c4dd619a55e20a3e375a363550a2f6c4b0de0b32.tar.gz |
add hook type H: they run just after unpacking the chroot, for every target.
Closes: #800757
-rw-r--r-- | pbuilder-modules | 1 | ||||
-rw-r--r-- | pbuilder.8 | 6 |
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 () { @@ -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 |