[Piuparts-devel] Bug#766921: Bug#766921: (no subject)
barry at debian.org
Thu Nov 13 15:51:07 UTC 2014
On Nov 13, 2014, at 12:41 PM, Holger Levsen wrote:
><mapreri> | h01ger: well, is there a pythonic way to preload library? :)
A *very* quick look at piuparts seems to show that the run() function is used
to run subprocesses from piuparts. You can even see where this function is
setting up the env for the subprocess. In that case, probably just adding
env['LD_PRELOAD'] = 'libeatmydata.so'
would do the trick.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Piuparts-devel