Package: pbuilder Version: 0.127 Severity: wishlist Tags: patch I've the need to invoke some hooks after a script I'm executing with "pbuilder execute" completes but before the build place is cleaned. "B" hooks seem to be the good ones: they are indeed invoked after executing /bin/bash on "pbuilder login". From /usr/sbin/pbuilder, "login" command:
executehooks "F" chroot "$BUILDPLACE" bin/bash executehooks "B" is there any particular reason for not doing the same on "pbuilder execute"? "F" hooks are invoked chroot, but "B" aren't afterwards. From /usr/sbin/pbuilder, "execute" command: executehooks "F" chroot "$BUILDPLACE" /run "$@" Is it possible to add invocation of "B" hooks after chroot on "execute" command? I attach the trivial patch. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-fistandantilus Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Versions of packages pbuilder depends on: ii coreutils 5.2.1-2 The GNU core utilities ii debianutils 2.14.1 Miscellaneous utilities specific t ii debootstrap 0.3.1.4 Bootstrap a basic Debian system ii gcc 4:3.3.6-1 The GNU C compiler ii wget 1.10-2 retrieves files from the web Versions of packages pbuilder recommends: ii devscripts 2.8.14 Scripts to make the life of a Debi ii fakeroot 1.4.1 Gives a fake root environment ii sudo 1.6.8p9-2 Provide limited super user privile -- no debconf information -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-
--- pbuilder 2005-07-01 19:24:46.000000000 +0200
+++ /usr/sbin/pbuilder 2005-07-01 19:24:56.000000000 +0200
@@ -69,6 +69,7 @@
fi
executehooks "F"
chroot "$BUILDPLACE" bin/bash
+ executehooks "B"
save_aptcache
trap umountproc_cleanbuildplace exit
signature.asc
Description: Digital signature

