diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-11-24 13:28:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-11-24 13:28:29 +0000 |
commit | 749f539ddb2a29af2572dd7d10b52346b462d695 (patch) | |
tree | d6c6e58370598b3580d7c3f20caef8056fa6a066 | |
parent | eef683b8da9f12d5221804d79c26997c76745ce7 (diff) | |
download | urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar.gz urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar.bz2 urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar.xz urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.zip |
(handle_need_restart) do not advice to reboot when inside a chroot
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/main_loop.pm | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,4 @@ +- do not advice to reboot when inside a chroot - do not cache media.cfg from the media when using a virtual one (ie a medium for which we don't want to cache metadata) - ignore gpg_pubkey packages in urpmq --not-available diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 31d09dea..2bab5069 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -362,6 +362,7 @@ if ($nok) { sub handle_need_restart { my ($urpm, $state, $callbacks) = @_; + return if $urpm->{root}; return if !$callbacks->{need_restart}; if (intersection([ keys %{$state->{selected}} ], |