#103 image tasks need to include all arches in the one task
Closed: Fixed None Opened 8 years ago by ausil.

When submitting image build tasks we need to add all arches to the one koji command line call. the install tree url needs to have $arch for the arches, koji puts the basearch value in place.


Currently there is a separate image-build task for each arch/variant pair. Is this request to modify it so that there is only one image build for each variant?

With current code it is possible to have different configuration for different arches (there is the variant → arch → config mapping). With the change that would no longer be possible. Is that a problem?

We have to have one koji task per variant. It is the only way koji works. right now the first arch submitted is the only one that completes, the rest fail saying the build is already in progress. we have to specify all the arches on the koji command line or as options if using the koji api. We currently have no way to build images for armhfp for instance. so we have to be able to specify the arches for the config.

Oh, that might be caused by the error in config handling: the image-build overwrites the value, so it only really works for the first task that gets started and anything after that gets bad configuration.

I opened a pull request with the fix, the relevant change is in this commit.

Login to comment on this ticket.

Metadata