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.

Attachment: signature.asc
Description: PGP signature

Reply via email to