Skip to content

Commit

Permalink
[backend] only build kiwi products on the local architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed May 30, 2023
1 parent 88d1877 commit 1ca9db1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/bs_srcserver
Expand Up @@ -1887,9 +1887,9 @@ sub getprojpack {
$rinfo->{'nodbgpkgs'} = 1 if defined($d->{'debugmedium'}) && $d->{'debugmedium'} <= 0;
$rinfo->{'nosrcpkgs'} = 1 if defined($d->{'sourcemedium'}) && $d->{'sourcemedium'} <= 0;
}
# KIWI Images don't build with local arch
if ($type eq 'kiwi' && $imagetype ne 'product') {
$rinfo->{'error'} = 'excluded' if defined($BSConfig::localarch) && $arch eq 'local';
if ($arch eq 'local' && defined($BSConfig::localarch)) {
# the local arch only builds kiwi products (and the special types above)
$rinfo->{'error'} = 'excluded' unless $type eq 'kiwi' && $imagetype eq 'product';
}
if ($type eq 'kiwi' && $imagetype eq 'product') {
# KIWI Products always build on the first repo arch
Expand Down

0 comments on commit 1ca9db1

Please sign in to comment.