Skip to content

Commit

Permalink
[backend] do not overwrite non-volatile packages with volatile ones
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Nov 6, 2014
1 parent 45e1630 commit f2935d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_sched
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ sub fctx_gbininfo2full {
if ($packid eq '_volatile') {
# volatile may have multiple architectures and multiple versions...
my $or = $full{$r->{'name'}};
$full{$r->{'name'}} = $r if $or && volatile_cmp($r, $or);
$full{$r->{'name'}} = $r if $or && $or->{'packid'} eq '_volatile' && volatile_cmp($r, $or);
}
$full{$r->{'name'}} ||= $r;
}
Expand Down

0 comments on commit f2935d8

Please sign in to comment.