From cd9066bcdba1fe31228ceef2c0fb1a6dcb9f5542 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 24 Jan 2016 00:53:24 +0100 Subject: unset LD_PRELOAD in chroot thus fixing warnings when using eg: eatmydata (b/c of missing object in the chroot) --- NEWS | 1 + urpm/install.pm | 1 + 2 files changed, 2 insertions(+) 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}; -- cgit v1.2.1