[buildd-tools-devel] sbuild: retrieving schroot mount point

Johannes Schauer j.schauer at email.de
Tue Jun 3 16:10:27 UTC 2014


Hi,

I'm trying to run a tracer like strace, inotify, audit or fatrace during an
sbuild run so that I can gather which files are accessed and which programs
executed when building a source package. That info can then be used to find
potential cruft in a source package's build dependencies.

Is there a sbuild hook which is started just after schroot created and
populated its tmpfs but is not run from within the schroot environment?
Something like chroot-setup-commands but run from outside the schroot
environment? It seems that pre-build-commands is run before the schroot is
mounted.

If this doesnt exist yet, would you accept a patch implementing it?

cheers, josch



More information about the Buildd-tools-devel mailing list