Skip to content

Commit

Permalink
[backend] kiwi builds: use repoarch for builds with arch=local
Browse files Browse the repository at this point in the history
This makes kiwi use the correct scheduler architecture, i.e.
the architecture configured in $BSConfig::localarch.
  • Loading branch information
mlschroe committed Dec 9, 2019
1 parent 43c4735 commit c6a53db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/BSSched/BuildJob.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,8 @@ sub create {
$_->{'version'} = $d->{'version'};
$_->{'release'} = $d->{'release'} if defined $d->{'release'};
$_->{'arch'} = $d->{'arch'} if $d->{'arch'};
$_->{'preimghdrmd5'} = $d->{'hdrmd5'} if !$_->{'noinstall'} && $d->{'hdrmd5'};
$_->{'preimghdrmd5'} = $d->{'hdrmd5'} if !$_->{'noinstall'} && $d->{'hdrmd5'};
$_->{'repoarch'} = $BSConfig::localarch if $myarch eq 'local' && $BSConfig::localarch;
}
}
}
Expand Down

0 comments on commit c6a53db

Please sign in to comment.