summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--urpm/select.pm3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 91072893..62dfb822 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- add infrastructure so that rpmdrake doesn't select all updates by
+ default (#38611)
+
Version 5.8 - 5 March 2008, by Thierry Vignaud
- add infrastructure so that gurpmi & rpmdrake can handle priority
diff --git a/urpm/select.pm b/urpm/select.pm
index b5292c95..a0757095 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -226,6 +226,7 @@ sub _search_packages {
#- rpmdb
#- auto_select
#- install_src
+#- only_request_packages_to_upgrade (rpmdrake doesn't want to actually select them)
#- priority_upgrade
#- upgrade_callback
#- resolve_req_callback
@@ -295,7 +296,7 @@ sub resolve_dependencies {
}
}
- if (!$need_restart) {
+ if (!$need_restart && !$options{only_request_packages_to_upgrade}) {
my @requested = $urpm->resolve_requested($db, $state, $requested, %options);
$options{resolve_req_callback} and $options{resolve_req_callback}->(@requested);