summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS1
-rw-r--r--urpm/install.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9ae85ef9..4fa6feb5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- add --deploops & --debug-librpm to bash completion
+- unset LD_PRELOAD in chroot (eg: for eatmydata)
Version 8.101 - 9 October 2015
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};