summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-06 16:45:13 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-06 16:45:13 +0000
commit66918337b50ffcb66dd4e0dcae72b9cc59057e09 (patch)
tree6fccc912f318a3bcef60aba46f8f1b20eaed96c8 /urpm
parente0a75bfd57566dbc18bd9e1d60f112f5c7cbbedb (diff)
downloadurpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar
urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar.gz
urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar.bz2
urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar.xz
urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.zip
(resolve_dependencies) add infrastructure so that rpmdrake doesn't
select all updates by default (#38611)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm3
1 files changed, 2 insertions, 1 deletions
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);