diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-24 00:53:24 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-24 00:53:24 +0100 |
commit | cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542 (patch) | |
tree | 79121e515974248be0d758b9df8af730c57d9cf5 | |
parent | 64b6af7947634c02786646c3460853dc0cabfb0a (diff) | |
download | urpmi-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-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/install.pm | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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}; |