Skip to content

Commit

Permalink
[backend] kiwi-product: join gbininfo data with packid list
Browse files Browse the repository at this point in the history
Workaround for missing package containers in projpack. That way,
the generated job has a chance to be correct anyway.
  • Loading branch information
mlschroe committed May 13, 2015
1 parent f152e0c commit bc1189d
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 @@ -5120,7 +5120,6 @@ sub checkkiwiproduct {
return ('delayed', $error) if defined $gbininfo;
return ('broken', $error);
}
@apackids = unify(@apackids, sort keys %$gbininfo);
} else {
$gbininfo = read_gbininfo("$reporoot/$aprp/$arch", $arch eq $myarch ? 0 : 1);
}
Expand All @@ -5134,6 +5133,7 @@ sub checkkiwiproduct {
};
sendevent($ev, $arch, "unblocked::${projid}::${repoid}");
}
@apackids = unify(@apackids, sort keys %{$gbininfo || {}});

for my $apackid (@apackids) {
if (($allpacks && !$deps{"-$apackid"} && !$deps{'-'.($known{$apackid} || '')}) || $deps{$apackid} || $deps{$known{$apackid} || ''}) {
Expand Down

0 comments on commit bc1189d

Please sign in to comment.