[Piuparts-devel] Bug#766921: Bug#766921: (no subject)

Barry Warsaw 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...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20141113/316cf374/attachment.sig>

More information about the Piuparts-devel mailing list