On Sun, Jul 03, 2005 at 08:13:34PM +0900, Junichi Uekawa wrote: > > I'm changing my question: is it possible to have hooks executed after > > invoking chroot _both_ for login _and_ execute pbuilder commands? > What kind of use do you have in mind? > It's trivial to add, but I would like to know that there > are legitimate uses for it.
I'm writing a script which uses pbuilder to build a sequence of debian packages from source installing them as soon as they've been built. A need of mine, which I think is quite common for people using "pbuilder execute/login" is to copy stuff inside the chroot before executing the script (or the sell) and to copy stuff outside the chroot after script execution (of course before removal of the build place). "F" hooks could be used for copying stuff in, but hooks for copying stuff out are not available. "B" hooks seem to be the right ones but are simply not invoked. Cheers. -- Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} - http://www.bononia.it/zack/ " I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant! " -- G.Romney -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

