summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-01-24 00:53:24 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-24 00:53:24 +0100
commitcd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542 (patch)
tree79121e515974248be0d758b9df8af730c57d9cf5 /urpm/install.pm
parent64b6af7947634c02786646c3460853dc0cabfb0a (diff)
downloadurpmi-cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542.tar
urpmi-cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542.tar.gz
urpmi-cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542.tar.bz2
urpmi-cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542.tar.xz
urpmi-cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542.zip
unset LD_PRELOAD in chroot
thus fixing warnings when using eg: eatmydata (b/c of missing object in the chroot)
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index bf565ff3..6f88e494 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -359,6 +359,7 @@ sub install {
_get_callbacks($urpm, $db, $trans, \%options, $install, $upgrade, scalar @trans_pkgs);
+ local $ENV{LD_PRELOAD}; # fix eatmydata & co
local $urpm->{trans} = $trans;
@errors = $trans->run($urpm, %options);
delete $urpm->{trans};