From e7e8c533b6f98fb49235558a490ad58df43bc3b1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 25 Feb 2008 16:18:31 +0000 Subject: - allow fixing "using one big transaction" that occurs when using --keep (#30198) nb: since build_transaction_set calls resolve_requested, it must use the same options to select the same packages --- URPM/Resolve.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'URPM') diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 2845407..bc6da6b 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1738,6 +1738,7 @@ sub sorted_rpms_to_string { } #- build transaction set for given selection +#- options: start, end, idlist, split_length, keep #- #- side-effects: $state->{transaction}, $state->{transaction_state} sub build_transaction_set { @@ -1775,6 +1776,7 @@ sub build_transaction_set { \%requested, defined $options{start} ? (start => $options{start}) : @{[]}, defined $options{end} ? (end => $options{end}) : @{[]}, + keep => $options{keep}, ); my @upgrade = grep { ! exists $examined{$_} } keys %{$state->{transaction_state}{selected}}; -- cgit v1.2.1