Isaac, there is actually a cleaner way to do the same as your hook. Just add the following to your
.pbuilderrc file :
That will need bug #341453 to be fixed first, though, but if you set both
BUILDUSERNAME it will work out of the box (with the default configuration,
PATH is not preserved because of the bug).
Note that you can also set
HOOKDIR instead of using the
--hookdir command line argument, thus not needing your wrapper.
Both comments and pings are currently closed.