summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/main_loop.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1b6b117a..76d49bae 100644
--- a/NEWS
+++ b/NEWS
@@ -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}} ],